Moodle PHP Documentation
4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
OTPHP
OTP
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\OTP
protected
at
(int $input)
OTPHP\OTP
compareOTP
(string $safe, string $user)
OTPHP\OTP
protected
createFromSecret
(string $secret) (defined in
OTPHP\OTPInterface
)
OTPHP\OTPInterface
static
DEFAULT_DIGEST
(defined in
OTPHP\OTPInterface
)
OTPHP\OTPInterface
DEFAULT_DIGITS
(defined in
OTPHP\OTPInterface
)
OTPHP\OTPInterface
filterOptions
(array &$options)
OTPHP\OTP
protected
generate
()
OTPHP\OTPInterface
static
generateOTP
(int $input)
OTPHP\OTP
protected
generateSecret
()
OTPHP\OTP
protected
static
generateURI
(string $type, array $options)
OTPHP\OTP
protected
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
Generated on Sun Jul 13 2025 03:51:16 for Moodle PHP Documentation by
1.13.2