blob: 1e501ae1cd7058bfe101817da032ad3739ba1647 [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.
Ash Wilsonb6943e02014-08-28 14:21:41 -040010 TokenID() (string, error)
Ash Wilson70dfe0c2014-08-28 13:57:09 -040011}