\CodeFareith\CfGoogleAuthenticator\Domain\ImmutableAuthenticationSecret

Immutable authentication secret

This class represents an immutable authentication secret, which means that an instance of this is class is not meant to change its properties. It is used by the authentication services and QR image generators and consists of an issuer, an account name and a secret key.

Summary

Methods
Properties
Constants
__construct()
create()
getUri()
getLabel()
getIssuer()
getAccountName()
getSecretKey()
No public properties found
BASE_URL
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

BASE_URL

BASE_URL = otpauth://totp/

Methods

__construct()

__construct(string  issuer, string  accountName, string  secretKey) : 

Parameters

string issuer
string accountName
string secretKey

Throws

\InvalidArgumentException

Returns

create()

create(string  issuer, string  accountName, string  secretKey) : 

Parameters

string issuer
string accountName
string secretKey

Throws

\InvalidArgumentException

Returns

getUri()

getUri() : 

Returns

getLabel()

getLabel() : 

Returns

getIssuer()

getIssuer() : 

Returns

getAccountName()

getAccountName() : 

Returns

getSecretKey()

getSecretKey() : 

Returns