auth

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAuthInsufficientPermissions = errors.New(errors.ErrForbidden, "insufficient_permissions")
	ErrAuth2faRequired             = errors.New(errors.ErrUnauthorized, "2fa_required")
	ErrAuthInvalidToken            = errors.New(errors.ErrUnauthorized, "invalid_token")
)

Functions

func NewMiddleware

func NewMiddleware(config *MiddlewareConfig) *middleware

Types

type MiddlewareConfig

type MiddlewareConfig struct {
	AuthServiceEndpoint string
	HttpClientManager   client.Manager
}

Directories

Path Synopsis
repository

Jump to

Keyboard shortcuts

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