Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2014 Changes in this version + var ErrAPIKeyProvided = unacceptedAttributeErr("APIKey") + var ErrDomainIDOrDomainName = errors.New(...) + var ErrDomainIDWithToken = redundantWithTokenErr("DomainID") + var ErrDomainIDWithUserID = redundantWithUserID("DomainID") + var ErrDomainNameWithToken = redundantWithTokenErr("DomainName") + var ErrDomainNameWithUserID = redundantWithUserID("DomainName") + var ErrMissingPassword = errors.New("You must provide a password to authenticate") + var ErrScopeDomainIDOrDomainName = errors.New(...) + var ErrScopeDomainName = errors.New("DomainName must be supplied with a ProjectName or ProjectID in a Scope.") + var ErrScopeEmpty = errors.New("You must provide either a Project or Domain in a Scope") + var ErrScopeProjectIDAlone = errors.New("ProjectID must be supplied alone in a Scope") + var ErrScopeProjectIDOrProjectName = errors.New("You must provide at most one of ProjectID or ProjectName in a Scope") + var ErrTenantIDProvided = unacceptedAttributeErr("TenantID") + var ErrTenantNameProvided = unacceptedAttributeErr("TenantName") + var ErrUserIDWithToken = redundantWithTokenErr("UserID") + var ErrUsernameOrUserID = errors.New(...) + var ErrUsernameWithToken = redundantWithTokenErr("Username") + func Validate(c *gophercloud.ServiceClient, token string) (bool, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, options gophercloud.AuthOptions, scope *Scope) CreateResult + func (r CreateResult) Extract() (*Token, error) + type GetResult struct + func Get(c *gophercloud.ServiceClient, token string) GetResult + func (r GetResult) Extract() (*Token, error) + type RevokeResult struct + func Revoke(c *gophercloud.ServiceClient, token string) RevokeResult + func (r RevokeResult) Extract() (*Token, error) + type Scope struct + DomainID string + DomainName string + ProjectID string + ProjectName string + type Token struct + ExpiresAt time.Time + ID string