PHP Class OTPHP\Factory

Afficher le fichier Open project: spomky-labs/otphp Class Usage Examples

Méthodes publiques

Méthode Description
loadFromProvisioningUri ( string $uri ) : TOTP | HOTP

Private Methods

Méthode Description
checkData ( array &$data )
createOTP ( array $parsed_url ) : OTPHP\HOTPInterface | OTPHP\TOTPInterface
getLabel ( string $data ) : string
populateOTP ( otphp\OTPInterface &$otp, array $data )
populateParameters ( otphp\OTPInterface &$otp, array $data )

Method Details

loadFromProvisioningUri() public static méthode

public static loadFromProvisioningUri ( string $uri ) : TOTP | HOTP
$uri string
Résultat TOTP | HOTP