auth

package
v0.0.0-...-a4e98f0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(method string, authenticator Authenticator, logger *slog.Logger) *authHandler

NewHandler is a cpnstructor function for the authHandler type

Types

type Authenticator

type Authenticator interface {
	Sign(clientID string) (string, error)
}

Jump to

Keyboard shortcuts

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