Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
OTPHP Namespace Reference

  More...

Classes

class  InternalClock
 
class  OTP
 
interface  OTPInterface
 
class  TOTP
 
interface  TOTPInterface
 

Functions

 getDigest ()
 
 getDigits ()
 
 getIssuer ()
 
 getLabel ()
 
 getParameter (string $parameter)
 
 getParameterMap ()
 
 getParameters ()
 
 getSecret ()
 
 hasParameter (string $parameter)
 
 isIssuerIncludedAsParameter ()
 
 setDigest (string $digest)
 
 setDigits (int $digits)
 
 setIssuer (string $issuer)
 
 setIssuerIncludedAsParameter (bool $issuer_included_as_parameter)
 
 setLabel (string $label)
 
 setParameter (string $parameter, mixed $value)
 
 setSecret (string $secret)
 

Variables

trait ParameterTrait
 

Detailed Description

 

Function Documentation

◆ getParameterMap()

OTPHP\getParameterMap ( )
protected
Return values
array<non-empty-string,callable>

◆ getParameters()

OTPHP\getParameters ( )
Return values
array<non-empty-string,mixed>

Variable Documentation

◆ ParameterTrait

trait OTPHP\ParameterTrait
Initial value:
{
private array<non-empty-string, array $parameters = []