Skip to content

Kirby 4.2.0

$totp->uri()

Returns a otpauth:// URI for use in a setup QR code or link

$totp->uri(string $issuer, string $label): string

Parameters

Name Type Default Description
$issuer * string Name of the site the code is valid for
$label * string Account name the code is valid for

Return type

string

Parent class

Kirby\Toolkit\Totp