Skip to main content

@bloock/sdk / TotpAccessControlReceipt

Class: TotpAccessControlReceipt

Represents a receipt for a Time-based One-Time Password (TOTP) access control.

Table of contents

Constructors

Properties

Constructors

constructor

new TotpAccessControlReceipt(secret, secretQr, recoveryCodes): TotpAccessControlReceipt

Creates a new TotpAccessControlReceipt with the provided secret, secret QR code, and recovery codes.

Parameters

NameType
secretstring
secretQrstring
recoveryCodesstring[]

Returns

TotpAccessControlReceipt

Defined in

entity/key/totp_access_control_receipt.ts:15

Properties

recoveryCodes

recoveryCodes: string[]

Defined in

entity/key/totp_access_control_receipt.ts:7


secret

secret: string

Defined in

entity/key/totp_access_control_receipt.ts:5


secretQr

secretQr: string

Defined in

entity/key/totp_access_control_receipt.ts:6