[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
Parameter Type Description
host string _(Optional)_ Hostname/IP of the server to analyze. Defaults to the running script's server if not specified.
**Returns:** [ServerAuthDetails](./bitburner.serverauthdetails.md) & { isOnline: boolean } An object containing the server's authentication protocol details. ## Remarks RAM cost: 0.1 GB