| Modifier and Type | Method and Description |
|---|---|
GoogleAuthenticatorKey |
IGoogleAuthenticator.createCredentials()
This method generates a new set of credentials including:
Secret key.
Validation code.
A list of scratch codes.
The user must register this secret on their device.
|
GoogleAuthenticatorKey |
GoogleAuthenticator.createCredentials() |
GoogleAuthenticatorKey |
IGoogleAuthenticator.createCredentials(String userName)
This method generates a new set of credentials invoking the
#createCredentials method with no arguments. |
GoogleAuthenticatorKey |
GoogleAuthenticator.createCredentials(String userName) |
| Modifier and Type | Method and Description |
|---|---|
static String |
GoogleAuthenticatorQRGenerator.getOtpAuthTotpURL(String issuer,
String accountName,
GoogleAuthenticatorKey credentials)
Returns the basic otpauth TOTP URI.
|
static String |
GoogleAuthenticatorQRGenerator.getOtpAuthURL(String issuer,
String accountName,
GoogleAuthenticatorKey credentials)
Returns the URL of a Google Chart API call to generate a QR barcode to
be loaded into the Google Authenticator application.
|
Copyright © 2016. All rights reserved.