packer-cn/vendor/github.com/rackspace/gophercloud/auth_results.go

15 lines
444 B
Go
Raw Normal View History

2016-02-04 20:33:36 -05:00
package gophercloud
import "time"
// AuthResults [deprecated] is a leftover type from the v0.x days. It was
// intended to describe common functionality among identity service results, but
// is not actually used anywhere.
type AuthResults interface {
// TokenID returns the token's ID value from the authentication response.
TokenID() (string, error)
// ExpiresAt retrieves the token's expiration time.
ExpiresAt() (time.Time, error)
}