authenticator

package
v0.0.0-...-e0b5030 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticator

func NewAuthenticator(kc Request, repo repository.Repository, c Request) *defaultAuthenticator

Types

type Interface

type Interface interface {
	WithAuthentication(handler http.Handler) http.Handler
}

type Request

type Request interface {
	AuthenticateRequest(req *http.Request) (*Response, bool, error)
}

type Response

type Response struct {
	User user.Info
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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