PasswordOrPasskeyResponseType class

The credential the user picked in the platform credential manager: either a saved password or a passkey assertion. Exactly one is non-null.

Constructors

PasswordOrPasskeyResponseType.passkey(AuthenticateResponseType passkey)
Constructs a response carrying a passkey assertion.
const
PasswordOrPasskeyResponseType.password(PasswordCredentialType password)
Constructs a response carrying a saved password.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
passkey → AuthenticateResponseType?
The passkey assertion, when the user picked a passkey. Must be sent to the relying party server exactly like the result of authenticate.
final
password → PasswordCredentialType?
The saved password, when the user picked one.
final
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
toString() → String
A string representation of this object.
inherited

Operators

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