Opens a new window with list of versions in this module.
Published: Mar 23, 2015
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Package tokens provides information and interaction with the token
API resource for the Rackspace Identity service.
ErrPasswordProvided = errors.New("Please provide either a password or an API key.")
Create authenticates to Rackspace's identity service and attempts to acquire a Token. Rather
than interact with this service directly, users should generally call
AuthOptions wraps the OpenStack AuthOptions struct to be able to customize the request body
when API key authentication is used.
WrapOptions embeds a root AuthOptions struct in a package-specific one.
ToTokenCreateMap serializes an AuthOptions into a request body. If an API key is provided, it
will be used, otherwise
Click to show internal directories.
Click to hide internal directories.