public function GALoginTotpSetup::setSeed in Google Authenticator login 8
Setter for OTP secret key.
Parameters
string $seed: The OTP secret key.
1 call to GALoginTotpSetup::setSeed()
- GALoginTotpSetup::__construct in src/
Plugin/ TfaSetup/ GALoginTotpSetup.php - Constructs a new Tfa plugin object.
File
- src/
Plugin/ TfaSetup/ GALoginTotpSetup.php, line 165
Class
- GALoginTotpSetup
- TOTP setup class to setup TOTP validation.
Namespace
Drupal\ga_login\Plugin\TfaSetupCode
public function setSeed($seed) {
$this->seed = $seed;
}