Skip to main content

TotpAccessControlReceipt

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

  • Full name: \Bloock\Entity\Key\TotpAccessControlReceipt

Properties​

secret​

public string $secret

secretQr​

public string $secretQr

recoveryCodes​

public \Google\Protobuf\Internal\RepeatedField $recoveryCodes

Methods​

__construct​

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

public __construct(string $secret, string $secretQr, \Google\Protobuf\Internal\RepeatedField $recoveryCodes): mixed

Parameters:

ParameterTypeDescription
$secretstring
$secretQrstring
$recoveryCodes\Google\Protobuf\Internal\RepeatedField

getSecret​

Gets the secret of the totp access control receipt.

public getSecret(): string

getSecretQr​

Gets the secret qr of the totp access control receipt.

public getSecretQr(): string

getRecoveryCodes​

Gets the recovery codes of the totp access control receipt.

public getRecoveryCodes(): \Google\Protobuf\Internal\RepeatedField


Automatically generated on 2024-04-17