Skip to content

Kirby 5.0.4

$totp->secret()

Returns the secret in human-readable Base32 format

$totp->secret(): string

Return type

string

This method modifies the existing $totp object it is applied to and returns it again.

Parent class

Kirby\Toolkit\Totp