Documentation
¶
Index ¶
- func Delete(c *client.Client, username string) error
- func Login(c *client.Client, username, password string) (string, error)
- func Passwd(c *client.Client, username, password, newPassword string) error
- func Regenerate(c *client.Client, username string, all bool) (string, error)
- func Register(c *client.Client, username, password, email string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Login ¶
Login to the controller and get a token
func Passwd ¶
Passwd changes a user's password.
func Regenerate ¶
Regenerate user's auth tokens.
Types ¶
This section is empty.
Source Files
¶
- auth.go
Click to show internal directories.
Click to hide internal directories.