You are here

public function GALoginHotpSetup::setSeed in Google Authenticator login 8

Setter for OTP secret key.

Parameters

string $seed: The OTP secret key.

1 call to GALoginHotpSetup::setSeed()
GALoginHotpSetup::__construct in src/Plugin/TfaSetup/GALoginHotpSetup.php
Constructs a new Tfa plugin object.

File

src/Plugin/TfaSetup/GALoginHotpSetup.php, line 169

Class

GALoginHotpSetup
HOTP setup class to setup HOTP validation.

Namespace

Drupal\ga_login\Plugin\TfaSetup

Code

public function setSeed($seed) {
  $this->seed = $seed;
}