Skip to content

Kirby 6.0.1

$totp->uri()

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

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

Parameters

Name Type Default Description
$issuerrequired string no default value Name of the site the code is valid for
$labelrequired string no default value Account name the code is valid for

Return type

non-empty-string

Parent class

Kirby\Toolkit\Totp