Documentation ¶
Index ¶
- func AuthAddUserCommand(hc **hubclient.HubClient) *cli.Command
- func AuthListClientsCommand(hc **hubclient.HubClient) *cli.Command
- func AuthPasswordCommand(hc **hubclient.HubClient) *cli.Command
- func AuthRemoveClientCommand(hc **hubclient.HubClient) *cli.Command
- func AuthRoleCommand(hc **hubclient.HubClient) *cli.Command
- func GeneratePassword(length int, useSpecial bool) (password string)
- func HandleAddUser(hc *hubclient.HubClient, loginID string, displayName string, role string) (err error)
- func HandleListClients(hc *hubclient.HubClient) (err error)
- func HandleRemoveClient(hc *hubclient.HubClient, clientID string) (err error)
- func HandleSetPassword(hc *hubclient.HubClient, loginID string, newPassword string) error
- func HandleSetRole(hc *hubclient.HubClient, loginID string, newRole string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthAddUserCommand ¶
AuthnAddUserCommand adds a user
func AuthListClientsCommand ¶
AuthListClientsCommand lists user profiles
func AuthPasswordCommand ¶
AuthPasswordCommand replaces a user's password
func AuthRemoveClientCommand ¶
AuthRemoveClientCommand removes a user
func AuthRoleCommand ¶
AuthRoleCommand changes a user's role
func GeneratePassword ¶
GeneratePassword with upper, lower, numbers and special characters
func HandleAddUser ¶
func HandleAddUser( hc *hubclient.HubClient, loginID string, displayName string, role string) (err error)
HandleAddUser adds a user and displays a temperary password
func HandleListClients ¶
HandleListClients shows a list of user profiles
func HandleRemoveClient ¶
HandleRemoveClient removes a user
func HandleSetPassword ¶
HandleSetPassword resets or replaces a password
loginID is the ID or email of the user newPassword can be empty to auto-generate a password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.