public class UserCredentialModel extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_CERT |
protected String |
device |
static String |
PASSWORD |
static String |
SECRET |
static String |
TOTP |
protected String |
type |
protected String |
value |
Constructor and Description |
---|
UserCredentialModel() |
Modifier and Type | Method and Description |
---|---|
static UserCredentialModel |
generateSecret() |
String |
getDevice() |
String |
getType() |
String |
getValue() |
static UserCredentialModel |
password(String password) |
static UserCredentialModel |
secret(String password) |
void |
setDevice(String device) |
void |
setType(String type) |
void |
setValue(String value) |
static UserCredentialModel |
totp(String key) |
public static final String PASSWORD
public static final String SECRET
public static final String TOTP
public static final String CLIENT_CERT
protected String type
protected String value
protected String device
public static UserCredentialModel password(String password)
public static UserCredentialModel secret(String password)
public static UserCredentialModel totp(String key)
public static UserCredentialModel generateSecret()
public String getType()
public void setType(String type)
public String getValue()
public void setValue(String value)
public String getDevice()
public void setDevice(String device)
Copyright © 2014. All Rights Reserved.