AuthenticationGetSessionOptions class

Options to be used when getting an {@link AuthenticationSession} from an {@link AuthenticationProvider}.

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

Constructors

AuthenticationGetSessionOptions.new({bool? clearSessionPreference, bool? createIfNone, Object? forceNewSession, bool? silent})
factory

Properties

clearSessionPreference bool?

Available on AuthenticationGetSessionOptions, provided by the AuthenticationGetSessionOptions$Typings extension

Whether the existing session preference should be cleared.
getter/setter pair
createIfNone bool?

Available on AuthenticationGetSessionOptions, provided by the AuthenticationGetSessionOptions$Typings extension

Whether login should be performed if there is no matching session.
getter/setter pair
forceNewSession Object?

Available on AuthenticationGetSessionOptions, provided by the AuthenticationGetSessionOptions$Typings extension

Whether we should attempt to reauthenticate even if there is already a session available.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
silent bool?

Available on AuthenticationGetSessionOptions, provided by the AuthenticationGetSessionOptions$Typings extension

Whether we should show the indication to sign in in the Accounts menu.
getter/setter pair

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