Click or drag to resize
SessionOptions Methods

The SessionOptions type exposes the following members.

Methods
  NameDescription
Public methodSetSessionIdentityOptions
Sets the specified authOptions as the AuthOptions for the session identity, enabling automatic authorization of the session identity during startup.

The session identity lifetime is tied to the session's lifetime, so it is guaranteed that the session identity will remain authorized during the entire duration of the session. The identity will be authorized before the session starts. The session will terminate if the identity fails to authorize or is revoked.

The session identity is used to send requests and make subscriptions if no other identity is provided.

By default the session identity is not authorized.

Public methodToString
Return the string representation of this object.
(Overrides ObjectToString.)
Top
See Also