public class AWSDevPayCredentials extends AWSCredentials
accessKey, CREDENTIALS_STORAGE_VERSION, friendlyName, log, secretKey, V2_KEYS_DELIMITER, V3_KEYS_DELIMITER
Modifier | Constructor and Description |
---|---|
protected |
AWSDevPayCredentials(java.lang.String awsAccessKey,
java.lang.String awsSecretAccessKey) |
protected |
AWSDevPayCredentials(java.lang.String awsAccessKey,
java.lang.String awsSecretAccessKey,
java.lang.String friendlyName) |
|
AWSDevPayCredentials(java.lang.String awsAccessKey,
java.lang.String awsSecretAccessKey,
java.lang.String awsUserToken,
java.lang.String awsProductToken)
Construct credentials.
|
|
AWSDevPayCredentials(java.lang.String awsAccessKey,
java.lang.String awsSecretAccessKey,
java.lang.String awsUserToken,
java.lang.String awsProductToken,
java.lang.String friendlyName)
Construct credentials.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getDataToEncrypt() |
java.lang.String |
getLogString() |
java.lang.String |
getProductToken() |
protected java.lang.String |
getTypeName() |
java.lang.String |
getUserToken() |
java.lang.String |
getVersionPrefix() |
main
getAccessKey, getFriendlyName, getSecretKey, hasFriendlyName, load, load, save, save, save, save
protected AWSDevPayCredentials(java.lang.String awsAccessKey, java.lang.String awsSecretAccessKey)
protected AWSDevPayCredentials(java.lang.String awsAccessKey, java.lang.String awsSecretAccessKey, java.lang.String friendlyName)
public AWSDevPayCredentials(java.lang.String awsAccessKey, java.lang.String awsSecretAccessKey, java.lang.String awsUserToken, java.lang.String awsProductToken)
awsAccessKey
- AWS access key for an Amazon S3 account.awsSecretAccessKey
- AWS secret key for an Amazon S3 account.awsUserToken
- DevPay user token for an Amazon S3 account.awsProductToken
- DevPay product token for an Amazon S3 account.public AWSDevPayCredentials(java.lang.String awsAccessKey, java.lang.String awsSecretAccessKey, java.lang.String awsUserToken, java.lang.String awsProductToken, java.lang.String friendlyName)
awsAccessKey
- AWS access key for an Amazon S3 account.awsSecretAccessKey
- AWS secret key for an Amazon S3 account.awsUserToken
- DevPay user token for an Amazon S3 account.awsProductToken
- DevPay product token for an Amazon S3 account.friendlyName
- a name identifying the owner of the credentials, such as 'James'.protected java.lang.String getTypeName()
getTypeName
in class AWSCredentials
public java.lang.String getVersionPrefix()
getVersionPrefix
in class AWSCredentials
public java.lang.String getUserToken()
public java.lang.String getProductToken()
public java.lang.String getLogString()
getLogString
in class ProviderCredentials
protected java.lang.String getDataToEncrypt()
getDataToEncrypt
in class ProviderCredentials