Метод | Описание | |
---|---|---|
__construct ( |
Constructor | |
get ( boolean $raw = false ) : string | Returns the site secret. | |
getStrength ( ) : string | Get the strength of the site secret | |
init ( ) : mixed | Initialise the site secret (32 bytes: "z" to indicate format + 186-bit key in Base64 URL). | |
setTestingSecret ( string $secret ) : void | Set a secret to be used in testing |
public __construct ( |
||
$configTable | Config table |
public getStrength ( ) : string | ||
Результат | string | "strong", "moderate", or "weak" |
public setTestingSecret ( string $secret ) : void | ||
$secret | string | Testing site secret. 32 alphanums starting with "z" |
Результат | void |