AuthenticationSession class

Represents a session of a currently logged in user.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

AuthenticationSession.new({String? id, String? accessToken, AuthenticationSessionAccountInformation? account, List<String>? scopes})
factory

Properties

accessToken String

Available on AuthenticationSession, provided by the AuthenticationSession$Typings extension

The access token.
no setter
account AuthenticationSessionAccountInformation

Available on AuthenticationSession, provided by the AuthenticationSession$Typings extension

The account associated with the session.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String

Available on AuthenticationSession, provided by the AuthenticationSession$Typings extension

The identifier of the authentication session.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>

Available on AuthenticationSession, provided by the AuthenticationSession$Typings extension

The permissions granted by the session's access token. Available scopes are defined by the {@link AuthenticationProvider}.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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