authn

package
v0.0.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyAuthenticator

type KeyAuthenticator interface {
	SetKeys(keys []string)
	Validator() func(key string, c echo.Context) (bool, error)
}

KeyAuthenticator -

type KeyAuthn

type KeyAuthn struct {
	Keys []string
}

KeyAuthn -

func NewKeyAuthn

func NewKeyAuthn(keys ...string) *KeyAuthn

func (*KeyAuthn) SetKeys

func (a *KeyAuthn) SetKeys(keys []string)

SetKeys -

func (*KeyAuthn) Validator

func (a *KeyAuthn) Validator() func(key string, c echo.Context) (bool, error)

Validator -

Jump to

Keyboard shortcuts

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