AuthAdminPasskeyApi class
Admin methods for managing the passkeys of users.
Passkeys are a BETA feature and must be enabled for your project in the Supabase Dashboard under Authentication > Configuration > Passkeys.
These methods require a secret key and should only be called on a
server. Never expose your secret key on the client.
- Annotations
-
- @experimental
Constructors
-
AuthAdminPasskeyApi({required String url, required Map<
String, String> headers, required AuthFetch fetch}) -
const
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
-
deletePasskey(
{required String userId, required String passkeyId}) → Future< void> -
Deletes the passkey with
passkeyIdfrom the user withuserId. -
listPasskeys(
{required String userId}) → Future< List< Passkey> > -
Returns the list of passkeys registered to the user with
userId. -
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