Rackspace CloudFiles API
Public Member Functions | Properties | List of all members
Rackspace.Cloudfiles.UserCredentials Class Reference

Passed to Connection Object to provide User and Account Information. More...

Public Member Functions

 UserCredentials (string username, string api_key)
 Initializes a new instance of the Rackspace.Cloudfiles.UserCredentials class.
 
 UserCredentials (string username, string api_key, string auth_url)
 Initializes a new instance of the Rackspace.Cloudfiles.UserCredentials class.
 
void AddCachedCredentials (string auth_token, string storage_url, string cdn_management_url)
 Adds cached credentials.
 
void AddCachedCredentials (string auth_token, string storage_url)
 Adds cached credentials.
 
void UkAuth ()
 Switches the auth Url to the UK auth system.
 
void UsAuth ()
 

Properties

string UserName [get, set]
 
string ApiKey [get, set]
 
string AuthToken [get, set]
 
Uri StorageUrl [get, set]
 
Uri CdnMangementUrl [get, set]
 
Uri AuthUrl [get, set]
 

Detailed Description

Passed to Connection Object to provide User and Account Information.

Constructor & Destructor Documentation

Rackspace.Cloudfiles.UserCredentials.UserCredentials ( string  username,
string  api_key 
)

Initializes a new instance of the Rackspace.Cloudfiles.UserCredentials class.

Parameters
usernameUsername.
api_keyApi_key.
Rackspace.Cloudfiles.UserCredentials.UserCredentials ( string  username,
string  api_key,
string  auth_url 
)

Initializes a new instance of the Rackspace.Cloudfiles.UserCredentials class.

Parameters
usernameUsername.
api_keyApi_key.
auth_urlOverload Default Auth URL

Member Function Documentation

void Rackspace.Cloudfiles.UserCredentials.AddCachedCredentials ( string  auth_token,
string  storage_url,
string  cdn_management_url 
)

Adds cached credentials.

Parameters
auth_tokenAuth_token.
storage_urlStorage_url.
cdn_management_urlCdn_management_url.
void Rackspace.Cloudfiles.UserCredentials.AddCachedCredentials ( string  auth_token,
string  storage_url 
)

Adds cached credentials.

Parameters
auth_tokenAuth_token.
storage_urlStorage_url.
void Rackspace.Cloudfiles.UserCredentials.UkAuth ( )

Switches the auth Url to the UK auth system.


The documentation for this class was generated from the following file: