TotpSecretValueStore
final class TotpSecretValueStore (View source)
| internal |
Keeps secret bytes out of object properties so PHP representation helpers cannot export them.
Methods
remember(TotpSecret $secret, string $base32)
Associates canonical secret material with its owning value object without extending its lifetime.
void
valueFor(TotpSecret $secret)
Returns secret material only for a value object created through the TOTP contract.
string
Details
remember
static void
remember(TotpSecret $secret, string $base32)
Associates canonical secret material with its owning value object without extending its lifetime.
valueFor
static string
valueFor(TotpSecret $secret)
Returns secret material only for a value object created through the TOTP contract.