libqtaws  0.1.0
UnofficialAWSlibraryforQt
Public Slots | Public Member Functions | List of all members
AwsBasicCredentials Class Reference

Basic non-refreshable implementation of AwsAbstractCredentials. More...

Inheritance diagram for AwsBasicCredentials:
Inheritance graph
[legend]
Collaboration diagram for AwsBasicCredentials:
Collaboration graph
[legend]

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...
 
- Public Slots inherited from AwsAbstractCredentials
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...
 
- Public Member Functions inherited from AwsAbstractCredentials
 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...
 

Additional Inherited Members

- Signals inherited from AwsAbstractCredentials
void changed ()
 Signal emitted when this object's credentials have been updated. More...
 

Detailed Description

Basic non-refreshable implementation of AwsAbstractCredentials.

Constructor & Destructor Documentation

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
accessKeyIdThe AWS access key ID to use for this credentials object.
secretKeyThe AWS secret access key to use for this credentials object.
tokenThe AWS security token to use for this credentials object.
parentThis 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
accessKeyIdThe AWS access key ID to use for this credentials object.
secretKeyThe AWS secret access key to use for this credentials object.
parentThis object's parent.

Member Function Documentation

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
accessKeyIdThe 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
secretKeyThe 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
tokenThe 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: