Session class abstract

A Session

Properties:

  • active - Active state. If false the session is no longer active.
  • authenticatedAt - The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed).
  • authenticationMethods - A list of authenticators which were used to authenticate the session.
  • authenticatorAssuranceLevel
  • devices - Devices has history of all endpoints where the session was used
  • expiresAt - The Session Expiry When this session expires at.
  • id - Session ID
  • identity
  • issuedAt - The Session Issuance Timestamp When this session was issued at. Usually equal or close to authenticated_at.
  • tokenized - Tokenized is the tokenized (e.g. JWT) version of the session. It is only set when the tokenize query parameter was set to a valid tokenize template during calls to /session/whoami.
Annotations
  • @BuiltValue()

Constructors

Session([void updates(SessionBuilder b)])
factory

Properties

active bool?
Active state. If false the session is no longer active.
no setter
authenticatedAt DateTime?
The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed).
no setter
authenticationMethods → BuiltList<SessionAuthenticationMethod>?
A list of authenticators which were used to authenticate the session.
no setter
authenticatorAssuranceLevel AuthenticatorAssuranceLevel?
no setter
devices → BuiltList<SessionDevice>?
Devices has history of all endpoints where the session was used
no setter
expiresAt DateTime?
The Session Expiry When this session expires at.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
Session ID
no setter
identity Identity?
no setter
issuedAt DateTime?
The Session Issuance Timestamp When this session was issued at. Usually equal or close to authenticated_at.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenized String?
Tokenized is the tokenized (e.g. JWT) version of the session. It is only set when the tokenize query parameter was set to a valid tokenize template during calls to /session/whoami.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(SessionBuilder)) Session
Rebuilds the instance.
inherited
toBuilder() SessionBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Session>
no setter