You are here

public function GoogleAuthenticator::getKey in Google Authenticator login 7

Same name and namespace in other branches
  1. 6 ga4php.php \GoogleAuthenticator::getKey()

Get hex key.

File

./ga4php.php, line 316
Abstract GoogleAuthenticator class.

Class

GoogleAuthenticator
@file Abstract GoogleAuthenticator class.

Code

public function getKey($username) {
  $data = $this
    ->internalGetData($username);
  $key = $data["tokenkey"];
  return $key;
}