Docs

PasskeyResource

An interface that describes a passkey associated with a user response.

Properties

  • Name
    id
    Type
    string
    Description

    The unique identifier of the passkey.

  • Name
    name
    Type
    string
    Description

    The passkey's name.

  • Name
    verification
    Type
    Verification
    Description

    The verification details for the passkey.

  • Name
    createdAt
    Type
    Date
    Description

    The date when the passkey was created.

  • Name
    updatedAt
    Type
    Date
    Description

    The date when the passkey was last updated.

  • Name
    lastUsedAt
    Type
    Date | null
    Description

    The date when the passkey was last used.

Methods

update()

Updates the name of the associated passkey for the signed-in user.

function update(params: { name: string }): Promise<PasskeyResource>

For an example of how to use these methods, see the Passkeys custom flows documentation.

delete()

Deletes the associated passkey for the signed-in user.

function delete(): Promise<DeletedObject>

Learn more:

For an example of how to use these methods, see the Passkeys custom flows documentation.

Feedback

What did you think of this content?

Last updated on