Amplify JS API Documentation
    Preparing search index...

    Function associateWebAuthnCredential

    • Registers a new passkey for an authenticated user

      Returns Promise<void>

      Promise

      • PasskeyError:
      • Thrown when intermediate state is invalid
      • AuthError:
      • Thrown when user is unauthenticated
      • StartWebAuthnRegistrationException
      • Thrown due to a service error retrieving WebAuthn registration options
      • CompleteWebAuthnRegistrationException
      • Thrown due to a service error when verifying WebAuthn registration result