protected function GALoginHotpSetup::createSeed in Google Authenticator login 8
Create OTP seed for account.
Return value
string Un-encrypted seed.
1 call to GALoginHotpSetup::createSeed()
- GALoginHotpSetup::__construct in src/
Plugin/ TfaSetup/ GALoginHotpSetup.php - Constructs a new Tfa plugin object.
File
- src/
Plugin/ TfaSetup/ GALoginHotpSetup.php, line 159
Class
- GALoginHotpSetup
- HOTP setup class to setup HOTP validation.
Namespace
Drupal\ga_login\Plugin\TfaSetupCode
protected function createSeed() {
return $this->auth->ga
->generateRandom();
}