You are here

protected function TfaTotpSetup::createSeed in TFA Basic plugins 7

Create OTP seed for account.

Return value

string Seed.

1 call to TfaTotpSetup::createSeed()
TfaTotpSetup::__construct in includes/tfa_totp.inc
@copydoc TfaBasePlugin::__construct()

File

includes/tfa_totp.inc, line 295
classes for tfa_totp

Class

TfaTotpSetup
Class TfaTotpSetup

Code

protected function createSeed() {
  return $this->ga
    ->createSecret(24);
}