public class GoogleAuthenticatorConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleAuthenticatorConfig.GoogleAuthenticatorConfigBuilder |
| Constructor and Description |
|---|
GoogleAuthenticatorConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCodeDigits()
Returns the number of digits in the generated code.
|
int |
getKeyModulus()
Returns the key module.
|
KeyRepresentation |
getKeyRepresentation()
Returns the key representation.
|
long |
getTimeStepSizeInMillis()
Returns the time step size, in milliseconds, as specified by RFC 6238.
|
int |
getWindowSize()
Returns an integer value representing the number of windows of size
timeStepSizeInMillis that are checked during the validation process,
to account for differences between the server and the client clocks.
|
public int getKeyModulus()
public KeyRepresentation getKeyRepresentation()
public int getCodeDigits()
public long getTimeStepSizeInMillis()
public int getWindowSize()
timeStepSizeInMillisCopyright © 2016. All rights reserved.