blob: c8e7a55a0ae9a08e715bb2b7b19c9c183d5bac1d [file] [log] [blame]
Ash Wilson70dfe0c2014-08-28 13:57:09 -04001package gophercloud
2
3// AuthResults encapsulates the raw results from an authentication request. As OpenStack allows
4// extensions to influence the structure returned in ways that Gophercloud cannot predict at
5// compile-time, you should use type-safe accessors to work with the data represented by this type,
6// such as ServiceCatalog() and TokenID().
7type AuthResults interface {
8
9 // Retrieve the authentication token's value from the authentication response.
10 GetTokenID() (string, error)
11}