
In this example, the address has been changed to a url protected by digest auth.
Mode to Secure and Path, for example, to /ord/station:%7Cslot:/.
HttpScramShaDigestAuth from the Auth Type drop-down list and click SaveConfig options.
Credentials (Username and Password) and click Save.Out slot reports success.
The read-only hasSession property populates on a successful connection.
It automatically becomes invalid if the session becomes inactive or it expires. In this instance, the client receives a 401 error and automatically repeats the SCRAM-SHA handshake on the next request attempt.