mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
61 lines
962 B
Markdown
61 lines
962 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Darknet](./bitburner.darknet.md) > [getServerAuthDetails](./bitburner.darknet.getserverauthdetails.md)
|
|
|
|
## Darknet.getServerAuthDetails() method
|
|
|
|
Returns the server's authentication protocol details.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getServerAuthDetails(host?: string): ServerAuthDetails & { isOnline: boolean };
|
|
```
|
|
|
|
## Parameters
|
|
|
|
<table><thead><tr><th>
|
|
|
|
Parameter
|
|
|
|
|
|
</th><th>
|
|
|
|
Type
|
|
|
|
|
|
</th><th>
|
|
|
|
Description
|
|
|
|
|
|
</th></tr></thead>
|
|
<tbody><tr><td>
|
|
|
|
host
|
|
|
|
|
|
</td><td>
|
|
|
|
string
|
|
|
|
|
|
</td><td>
|
|
|
|
_(Optional)_ Hostname/IP of the server to analyze. Defaults to the running script's server if not specified.
|
|
|
|
|
|
</td></tr>
|
|
</tbody></table>
|
|
|
|
**Returns:**
|
|
|
|
[ServerAuthDetails](./bitburner.serverauthdetails.md) & { isOnline: boolean }
|
|
|
|
An object containing the server's authentication protocol details.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.1 GB
|
|
|