auth

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2015 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *client.Client, username string) error

Delete deletes a user.

func Login

func Login(c *client.Client, username, password string) (string, error)

Login to the controller and get a token

func Passwd

func Passwd(c *client.Client, username, password, newPassword string) error

Passwd changes a user's password.

func Regenerate

func Regenerate(c *client.Client, username string, all bool) (string, error)

Regenerate user's auth tokens.

func Register

func Register(c *client.Client, username, password, email string) error

Register a new user with the controller.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL