Basic non-refreshable implementation of AwsAbstractCredentials.
More...
|
void | changed () |
| Signal emitted when this object's credentials have been updated. More...
|
|
Basic non-refreshable implementation of AwsAbstractCredentials.
AwsBasicCredentials::AwsBasicCredentials |
( |
const QString & |
accessKeyId, |
|
|
const QString & |
secretKey, |
|
|
const QString & |
token, |
|
|
QObject *const |
parent = 0 |
|
) |
| |
Constructs a new AwsBasicCredentials object.
Constructs a new AwsBasicCredentials object, with the specified AWS access key, AWS secret key, and AWS security token.
- Parameters
-
accessKeyId | The AWS access key ID to use for this credentials object. |
secretKey | The AWS secret access key to use for this credentials object. |
token | The AWS security token to use for this credentials object. |
parent | This object's parent. |
AwsBasicCredentials::AwsBasicCredentials |
( |
const QString & |
accessKeyId, |
|
|
const QString & |
secretKey, |
|
|
QObject *const |
parent = 0 |
|
) |
| |
Constructs a new AwsBasicCredentials object.
Constructs a new AwsBasicCredentials object, with the specified AWS access key and AWS secret key. The object's security token will be left as null string, unless set later via setToken().
- Parameters
-
accessKeyId | The AWS access key ID to use for this credentials object. |
secretKey | The AWS secret access key to use for this credentials object. |
parent | This object's parent. |
QString AwsBasicCredentials::accessKeyId |
( |
| ) |
const |
|
virtual |
AWS access key ID for this credentials object.
- Returns
- The AWS access key ID for this credentials object.
Implements AwsAbstractCredentials.
QString AwsBasicCredentials::secretKey |
( |
| ) |
const |
|
virtual |
AWS secret access key for this credentials object.
- Returns
- The AWS secret access key for this credentials object.
Implements AwsAbstractCredentials.
void AwsBasicCredentials::setAccessKeyId |
( |
const QString & |
accessKeyId | ) |
|
|
virtualslot |
Set the AWS access key ID for this credentials object.
- Parameters
-
accessKeyId | The AWS access key ID to set for this credentials object. |
void AwsBasicCredentials::setSecretKey |
( |
const QString & |
secretKey | ) |
|
|
virtualslot |
Set the AWS secret access key for this credentials object.
- Parameters
-
secretKey | The AWS secret access key to set for this credentials object. |
void AwsBasicCredentials::setToken |
( |
const QString & |
token | ) |
|
|
virtualslot |
Set the AWS security token for this credentials object.
- Parameters
-
token | The AWS security token to set for this credentials object. |
QString AwsBasicCredentials::token |
( |
| ) |
const |
|
virtual |
AWS security token for this credentials object.
- Returns
- The AWS security token for this credentials object.
Implements AwsAbstractCredentials.
The documentation for this class was generated from the following files: