| Modifier and Type | Method and Description |
|---|---|
boolean |
IGoogleAuthenticator.authorize(String secret,
int verificationCode)
Checks a verification code against a secret key using the current time.
|
boolean |
GoogleAuthenticator.authorize(String secret,
int verificationCode) |
boolean |
IGoogleAuthenticator.authorize(String secret,
int verificationCode,
long time)
Checks a verification code against a secret key using the specified time.
|
boolean |
GoogleAuthenticator.authorize(String secret,
int verificationCode,
long time) |
boolean |
IGoogleAuthenticator.authorizeUser(String userName,
int verificationCode)
This method validates a verification code of the specified user whose
private key is retrieved from the configured credential repository using
the current time.
|
boolean |
GoogleAuthenticator.authorizeUser(String userName,
int verificationCode) |
boolean |
IGoogleAuthenticator.authorizeUser(String userName,
int verificationCode,
long time)
This method validates a verification code of the specified user whose
private key is retrieved from the configured credential repository.
|
boolean |
GoogleAuthenticator.authorizeUser(String userName,
int verificationCode,
long time) |
Copyright © 2016. All rights reserved.