2015-04-05 00:53:59 +00:00
|
|
|
package api
|
|
|
|
|
|
|
|
// Auth is used to perform credential backend related operations.
|
|
|
|
type Auth struct {
|
|
|
|
c *Client
|
|
|
|
}
|
|
|
|
|
2016-04-05 15:00:12 +00:00
|
|
|
// Auth is used to return the client for credential-backend API calls.
|
2015-04-05 00:53:59 +00:00
|
|
|
func (c *Client) Auth() *Auth {
|
|
|
|
return &Auth{c: c}
|
|
|
|
}
|