public final class GoogleAuthenticatorKey extends Object
GoogleAuthenticator| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleAuthenticatorKey.Builder
This class is a builder to create instances of the
GoogleAuthenticatorKey class. |
| Modifier and Type | Method and Description |
|---|---|
GoogleAuthenticatorConfig |
getConfig()
Get the config of this key.
|
String |
getKey()
Returns the secret key in Base32 encoding.
|
List<Integer> |
getScratchCodes()
Get the list of scratch codes.
|
int |
getVerificationCode()
Returns the verification code at time = 0 (the UNIX epoch).
|
public List<Integer> getScratchCodes()
public GoogleAuthenticatorConfig getConfig()
public String getKey()
public int getVerificationCode()
Copyright © 2018. All rights reserved.