Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 501 Bytes

settings.md

File metadata and controls

28 lines (19 loc) · 501 Bytes

Settings

Add a new passkey

await client.addPasskey(
  passkeyCallback: (options) async {
    return passkeyCredentialManager.register(options);
  },
);

Get all the passkeys

Get all the passkeys linked to a user account

final passkeys = await client.getPasskeys();

Remove a passkey

To remove a passkey, you need to know the passkey ID. You can get the passkey ID by calling getPasskeys method.

await client.removePasskey(passkeyId: passkeyId);