\FAA\Plugin\GoogleAuthenticator\LibGoogleAuthenticatorInterface

Summary

Methods
Constants
checkCode()
getCode()
generateSecret()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

checkCode()

checkCode(string  $secret,string  $code,  $discrepancy = 1)

Parameters

string $secret
string $code
$discrepancy

getCode()

getCode(string  $secret,float|string|integer|\DateTimeInterface|null  $time = null)

NEXT_MAJOR: add the interface typehint to $time and remove deprecation.

Parameters

string $secret
float|string|integer|\DateTimeInterface|null $time

generateSecret()

generateSecret(): string

Returns

string