Sub2ApiPasskeyClient class abstract interface

Provides typed passkey login and credential-management ceremonies.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

beginLogin({Sub2ApiCaptchaProof captcha = const Sub2ApiCaptchaProof(), Sub2ApiRequestOptions? requestOptions}) → Future<Sub2ApiPasskeyLoginChallenge>
Starts a discoverable-credential passkey login ceremony.
beginRegistration(Sub2ApiBeginPasskeyRegistrationRequest request, {Sub2ApiRequestOptions? requestOptions}) → Future<Sub2ApiPasskeyRegistrationChallenge>
Starts a password-gated passkey registration ceremony.
delete(int id, Sub2ApiDeletePasskeyRequest request, {Sub2ApiRequestOptions? requestOptions}) → Future<void>
Deletes a passkey after the account password is verified.
finishLogin(Sub2ApiFinishPasskeyLoginRequest request, {Sub2ApiRequestOptions? requestOptions}) → Future<Sub2ApiLoginResult>
Finishes a passkey assertion and persists the resulting user session.
finishRegistration(Sub2ApiFinishPasskeyRegistrationRequest request, {Sub2ApiRequestOptions? requestOptions}) → Future<Sub2ApiPasskeyCredentialSummary>
Finishes passkey enrollment and returns its stored credential metadata.
list({Sub2ApiRequestOptions? requestOptions}) → Future<List<Sub2ApiPasskeyCredentialSummary>>
Lists the passkey credentials owned by the current user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rename(int id, String name, {Sub2ApiRequestOptions? requestOptions}) → Future<void>
Renames a passkey credential owned by the current user.
toString() → String
A string representation of this object.
inherited

Operators

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