auth

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(db *bolt.DB) error

Login verifies that the human/machine that is trying to execute a command is effectively the owner of the information.

If it's the first record the user is registered.

func Register

func Register(db *bolt.DB, r io.Reader) error

Register registers the user when there aren't any records yet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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