PasskeyIdp class
Passkey account management functions.
Constructors
- PasskeyIdp(PasskeyIdpConfig config, {required TokenIssuer tokenManager, AuthUsers authUsers = const AuthUsers()})
-
Creates a new instance of PasskeyIdp.
factory
Properties
- admin → PasskeyIdpAdmin
-
Administrative methods for working with Passkey-backed accounts.
final
- config → PasskeyIdpConfig
-
The configuration for the Passkey identity provider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- utils → PasskeyIdpUtils
-
Utility functions for the Passkey identity provider.
final
Methods
-
createChallenge(
Session session, {Transaction? transaction}) → Future< PasskeyChallengeResponse> - Creates a new challenge to be used for a subsequent registration or login.
-
login(
Session session, {required PasskeyLoginRequest request, Transaction? transaction}) → Future< AuthSuccess> - Authenticates the client with the given Passkey credentials.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
Session session, {required UuidValue authUserId, required PasskeyRegistrationRequest request, Transaction? transaction}) → Future< void> -
Links the given passkey to the given
authUserId. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited