libqtaws
0.1.0
UnofficialAWSlibraryforQt-InternalDocumentation
|
Basic non-refreshable implementation of AwsAbstractCredentials. More...
Public Slots | |
virtual void | setAccessKeyId (const QString &accessKeyId) |
Set the AWS access key ID for this credentials object. More... | |
virtual void | setSecretKey (const QString &secretKey) |
Set the AWS secret access key for this credentials object. More... | |
virtual void | setToken (const QString &token) |
Set the AWS security token for this credentials object. More... | |
![]() | |
virtual bool | refresh () |
Refresh this object's credentials. More... | |
Public Member Functions | |
AwsBasicCredentials (const QString &accessKeyid, const QString &secretKey, const QString &token, QObject *const parent=0) | |
Constructs a new AwsBasicCredentials object. More... | |
AwsBasicCredentials (const QString &accessKeyid, const QString &secretKey, QObject *const parent=0) | |
Constructs a new AwsBasicCredentials object. More... | |
virtual QString | accessKeyId () const |
AWS access key ID for this credentials object. More... | |
virtual QString | secretKey () const |
AWS secret access key for this credentials object. More... | |
virtual QString | token () const |
AWS security token for this credentials object. More... | |
![]() | |
AwsAbstractCredentials (QObject *const parent=0) | |
Construct an AwsAbstractCredentials. More... | |
virtual QDateTime | expiration () const |
DateTime at which the credentials will expire. More... | |
virtual bool | isExpired () const |
Is this credentials object currently expired. More... | |
virtual bool | isRefreshable () const |
Is this credentials object refreshable. More... | |
Private Attributes | |
AwsBasicCredentialsPrivate *const | d_ptr |
Internal d-pointer. | |
Additional Inherited Members | |
![]() | |
void | changed () |
Signal emitted when this object's credentials have been updated. More... | |
Basic non-refreshable implementation of AwsAbstractCredentials.
Definition at line 29 of file awsbasiccredentials.h.
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.
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. |
Definition at line 42 of file awsbasiccredentials.cpp.
References accessKeyId(), secretKey(), and token().
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().
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. |
Definition at line 65 of file awsbasiccredentials.cpp.
References accessKeyId(), and secretKey().
|
virtual |
AWS access key ID for this credentials object.
Implements AwsAbstractCredentials.
Definition at line 81 of file awsbasiccredentials.cpp.
Referenced by AwsBasicCredentials(), and setAccessKeyId().
|
virtual |
AWS secret access key for this credentials object.
Implements AwsAbstractCredentials.
Definition at line 87 of file awsbasiccredentials.cpp.
Referenced by AwsBasicCredentials(), and setSecretKey().
|
virtualslot |
Set the AWS access key ID for this credentials object.
accessKeyId | The AWS access key ID to set for this credentials object. |
Definition at line 104 of file awsbasiccredentials.cpp.
References accessKeyId(), and AwsAbstractCredentials::changed().
|
virtualslot |
Set the AWS secret access key for this credentials object.
secretKey | The AWS secret access key to set for this credentials object. |
Definition at line 116 of file awsbasiccredentials.cpp.
References AwsAbstractCredentials::changed(), and secretKey().
|
virtualslot |
Set the AWS security token for this credentials object.
token | The AWS security token to set for this credentials object. |
Definition at line 128 of file awsbasiccredentials.cpp.
References AwsAbstractCredentials::changed(), and token().
|
virtual |
AWS security token for this credentials object.
Implements AwsAbstractCredentials.
Definition at line 93 of file awsbasiccredentials.cpp.
Referenced by AwsBasicCredentials(), and setToken().