public class Credentials extends Object
Modifier and Type | Field and Description |
---|---|
String |
methodName |
String |
password |
String |
plaintextPassword |
String |
username |
Constructor and Description |
---|
Credentials(org.codehaus.jettison.json.JSONObject cred)
Used to create an user account programmatically (via Webclient).
|
Credentials(String authHeader)
Used to authorize a request.
|
Credentials(String username,
String password)
Used to create an user account programmatically (via migration).
|
public String username
public String password
public String plaintextPassword
public String methodName
public Credentials(String username, String password)
password
- as plain textpublic Credentials(org.codehaus.jettison.json.JSONObject cred)
cred
- A JSON object with 2 properties: "username" and "password".
The password is expected to be SHA256 encoded.public Credentials(String authHeader)
Copyright © 2023. All Rights Reserved.