auth

package
v0.0.0-...-b196e69 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package auth handles user management: creation, deletion, and authentication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

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

Login to the controller and get a oauth url

func Token

func Token(c *drycc.Client, key, alias string) (api.AuthTokenResponse, error)

Token to the controller and get a token

func Whoami

func Whoami(c *drycc.Client) (api.User, error)

Whoami retrives the user object for the authenticated user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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