AuthenticationContext class Null safety

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
read / write
authUrl String
A URL containing the state of the current authentication transaction.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
origin AuthenticationContextOrigin
The authenticating request origin information
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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