public class TOTPCredential extends Password
This class can be used to update TOTP credentials. Credentials can be updated providing a password/secret combination or only a secret.
If using a password/secret combination, indicates that both password and secret should be updated. If only a secret is provided, the password will not be updated.
Constructor and Description |
---|
TOTPCredential(String secret) |
TOTPCredential(String password,
String secret) |
Modifier and Type | Method and Description |
---|---|
String |
getDevice() |
String |
getSecret() |
void |
setDevice(String device) |
Copyright © 2018. All rights reserved.