Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
OTPHP\OTP Member List

This is the complete list of members for OTPHP\OTP, including all inherited members.

__construct(string $secret) (defined in OTPHP\OTP)OTPHP\OTPprotected
at(int $input)OTPHP\OTP
compareOTP(string $safe, string $user)OTPHP\OTPprotected
createFromSecret(string $secret) (defined in OTPHP\OTPInterface)OTPHP\OTPInterfacestatic
DEFAULT_DIGEST (defined in OTPHP\OTPInterface)OTPHP\OTPInterface
DEFAULT_DIGITS (defined in OTPHP\OTPInterface)OTPHP\OTPInterface
filterOptions(array &$options)OTPHP\OTPprotected
generate()OTPHP\OTPInterfacestatic
generateOTP(int $input)OTPHP\OTPprotected
generateSecret()OTPHP\OTPprotectedstatic
generateURI(string $type, array $options)OTPHP\OTPprotected
getDigest()OTPHP\OTPInterface
getDigits()OTPHP\OTPInterface
getIssuer()OTPHP\OTPInterface
getLabel()OTPHP\OTPInterface
getParameter(string $parameter)OTPHP\OTPInterface
getParameters()OTPHP\OTPInterface
getProvisioningUri()OTPHP\OTPInterface
getQrCodeUri(string $uri, string $placeholder)OTPHP\OTP
getSecret()OTPHP\OTPInterface
hasParameter(string $parameter)OTPHP\OTPInterface
isIssuerIncludedAsParameter()OTPHP\OTPInterface
setDigest(string $digest)OTPHP\OTPInterface
setDigits(int $digits) (defined in OTPHP\OTPInterface)OTPHP\OTPInterface
setIssuer(string $issuer)OTPHP\OTPInterface
setIssuerIncludedAsParameter(bool $issuer_included_as_parameter) (defined in OTPHP\OTPInterface)OTPHP\OTPInterface
setLabel(string $label)OTPHP\OTPInterface
setParameter(string $parameter, mixed $value)OTPHP\OTPInterface
setSecret(string $secret)OTPHP\OTPInterface
verify(string $otp, null|int $input=null, null|int $window=null)OTPHP\OTPInterface