auth

package
v0.0.0-...-26ed3c2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator interface {
	Authenticate(ctx context.Context, user, password string) (id string, ok bool)
}

Authenticator is an interface for user authentication.

func AuthenticatorGroup

func AuthenticatorGroup(authers ...Authenticator) Authenticator

Jump to

Keyboard shortcuts

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