AuthCredentialPolicyRequest<TContext> class final

Non-password input supplied to credential policy contributors.

verificationToken is delivery-only request data. It is deliberately not serializable and must not be logged, persisted, or copied into a provider response. The value is supplied only to the policy contributor that needs it, before the credential provider is invoked.

Constructors

AuthCredentialPolicyRequest({required TContext context, required AuthProvider provider, required AuthCredentialPolicyOperation operation, String? identifier, String? verificationToken})
Creates a request for a credential policy contributor.
const

Properties

context → TContext
Framework context associated with the credential operation.
final
hashCode int
The hash code for this object.
no setterinherited
identifier String?
Normalized credential identifier, when supplied.
final
operation AuthCredentialPolicyOperation
Credential operation being evaluated.
final
provider AuthProvider
Provider handling the credential operation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verificationToken String?
Delivery-only verification token, when supplied.
final

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