Class | CloudFiles::Authentication |
In: |
lib/cloudfiles/authentication.rb
|
Parent: | Object |
Performs an authentication to the Cloud Files servers. Opens a new HTTP connection to the API server, sends the credentials, and looks for a successful authentication. If it succeeds, it sets the cdmmgmthost, cdmmgmtpath, storagehost, storagepath, authtoken, and authok variables on the connection. If it fails, it raises an CloudFiles::Exception::Authentication exception.
Should probably never be called directly.