auth

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKeyAuthMiddleware

type APIKeyAuthMiddleware struct {
	// contains filtered or unexported fields
}

func NewAPIKeyAuthMiddleware

func NewAPIKeyAuthMiddleware(
	ctx context.Context,

	cfg *config.AuthnConfig,
	logger *zerolog.Logger,
) (*APIKeyAuthMiddleware, error)

func (*APIKeyAuthMiddleware) Handler

func (a *APIKeyAuthMiddleware) Handler(next http.Handler) http.Handler

func (*APIKeyAuthMiddleware) Stream

func (*APIKeyAuthMiddleware) Unary

Jump to

Keyboard shortcuts

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