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
  • expiresAt - The Session Expiry When this session expires at.
  • id
  • identity
  • issuedAt - The Session Issuance Timestamp When this session was issued at. Usually equal or close to authenticated_at.

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
expiresAt DateTime?
The Session Expiry When this session expires at.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
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

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