middleware

package
v2.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingHeader = errors.New("auth header missing")
	ErrInvalidHeader = errors.New("invalid auth header")
	ErrInvalidToken  = errors.New("invalid token")
)

Functions

func Introspect

func Introspect(ctx context.Context, authHeader string, resourceServer rs.ResourceServer) error

Introspect calls the OAuth2 Introspection endpoint and returns an error if token is not active

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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