Constructor
# new Session(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
SessionOptions
|
The options that can be used |
Classes
Methods
# isAuthFlowCompleted() → {boolean}
Checks if the auth flow is completed. The value resets after the next login attempt.
Returns true if the authentication flow is completed, false otherwise
boolean
# isValid() → {boolean}
Checks if the user is logged in.
true if the user is logged in, false otherwise.
boolean