Faroe

Faroe.getUserTOTPCredential()

Mapped to GET /users/[user_id]/totp-credential.

Gets a user's TOTP credential. Returns null if the user doesn't exist or if the user doesn't have a TOTP credential.

Definition

async function getUserTOTPCredential(userId: string): Promise<FaroeUserTOTPCredential | null>

Parameters

  • userId

Error codes

  • UNKNOWN_ERROR