AuthenticationContext class

Information associated with the current authentication request.

Note that the authUrl field may differ from the URL passed into getAuthenticationContext. In this event, the new authUrl must be passed into authenticate or authenticateOtp, rather than the original URL.

Constructors

AuthenticationContext({required String authUrl, required AuthenticationContextApplication application, required AuthenticationContextOrigin origin})

Properties

application AuthenticationContextApplication
The authenticating application information
getter/setter pair
authUrl String
A URL containing the state of the current authentication transaction.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
origin AuthenticationContextOrigin
The authenticating request origin information
getter/setter pair
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
toJson() String
toString() String
A string representation of this object.
override

Operators

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

Static Methods

mapToAuthenticationContext(dynamic authContext) AuthenticationContext