12 lines
234 B
Go
12 lines
234 B
Go
|
package api
|
||
|
|
||
|
// Auth is used to perform credential backend related operations.
|
||
|
type Auth struct {
|
||
|
c *Client
|
||
|
}
|
||
|
|
||
|
// Auth is used to return the client for logical-backend API calls.
|
||
|
func (c *Client) Auth() *Auth {
|
||
|
return &Auth{c: c}
|
||
|
}
|