Versions in this module Expand all Collapse all v0 v0.16.0 Dec 31, 2020 Changes in this version + func Validate(c *gophercloud.ServiceClient, token string) (bool, error) + type AuthOptions struct + AllowReauth bool + ApplicationCredentialID string + ApplicationCredentialName string + ApplicationCredentialSecret string + DomainID string + DomainName string + IdentityEndpoint string + Passcode string + Password string + Scope Scope + TokenID string + UserID string + Username string + func (opts *AuthOptions) CanReauth() bool + func (opts *AuthOptions) ToTokenV3CreateMap(scope map[string]interface{}) (map[string]interface{}, error) + func (opts *AuthOptions) ToTokenV3HeadersMap(map[string]interface{}) (map[string]string, error) + func (opts *AuthOptions) ToTokenV3ScopeMap() (map[string]interface{}, error) + type AuthOptionsBuilder interface + CanReauth func() bool + ToTokenV3CreateMap func(map[string]interface{}) (map[string]interface{}, error) + ToTokenV3HeadersMap func(map[string]interface{}) (map[string]string, error) + ToTokenV3ScopeMap func() (map[string]interface{}, error) + type CatalogEntry struct + Endpoints []Endpoint + ID string + Name string + Type string + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts AuthOptionsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Token, error) + func (r CreateResult) ExtractDomain() (*Domain, error) + func (r CreateResult) ExtractInto(v interface{}) error + func (r CreateResult) ExtractProject() (*Project, error) + func (r CreateResult) ExtractRoles() ([]Role, error) + func (r CreateResult) ExtractServiceCatalog() (*ServiceCatalog, error) + func (r CreateResult) ExtractToken() (*Token, error) + func (r CreateResult) ExtractTokenID() (string, error) + func (r CreateResult) ExtractUser() (*User, error) + type Domain struct + ID string + Name string + type Endpoint struct + ID string + Interface string + Region string + RegionID string + URL string + type GetResult struct + func Get(c *gophercloud.ServiceClient, token string) (r GetResult) + func (r GetResult) Extract() (*Token, error) + func (r GetResult) ExtractDomain() (*Domain, error) + func (r GetResult) ExtractInto(v interface{}) error + func (r GetResult) ExtractProject() (*Project, error) + func (r GetResult) ExtractRoles() ([]Role, error) + func (r GetResult) ExtractServiceCatalog() (*ServiceCatalog, error) + func (r GetResult) ExtractToken() (*Token, error) + func (r GetResult) ExtractTokenID() (string, error) + func (r GetResult) ExtractUser() (*User, error) + type Project struct + Domain Domain + ID string + Name string + type RevokeResult struct + func Revoke(c *gophercloud.ServiceClient, token string) (r RevokeResult) + func (r RevokeResult) Extract() (*Token, error) + func (r RevokeResult) ExtractDomain() (*Domain, error) + func (r RevokeResult) ExtractInto(v interface{}) error + func (r RevokeResult) ExtractProject() (*Project, error) + func (r RevokeResult) ExtractRoles() ([]Role, error) + func (r RevokeResult) ExtractServiceCatalog() (*ServiceCatalog, error) + func (r RevokeResult) ExtractToken() (*Token, error) + func (r RevokeResult) ExtractUser() (*User, error) + type Role struct + ID string + Name string + type Scope struct + DomainID string + DomainName string + ProjectID string + ProjectName string + System bool + type ServiceCatalog struct + Entries []CatalogEntry + type Token struct + ExpiresAt time.Time + ID string + type User struct + Domain Domain + ID string + Name string