oidc

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiscoveryUriFromIssuer

func GetDiscoveryUriFromIssuer(issuer string) string

func GetTokenString added in v0.0.10

func GetTokenString(getHeaderFn GetHeaderFn, tokenStringOpts [][]options.TokenStringOption) (string, error)

GetTokenString extracts a token string.

func NewHandler

func NewHandler[T any](claimsValidationFn options.ClaimsValidationFn[T], setters ...options.Option) (*handler[T], error)

Types

type GetHeaderFn added in v0.0.10

type GetHeaderFn func(key string) string

type ParseTokenFunc

type ParseTokenFunc[T any] func(ctx context.Context, tokenString string) (T, error)

Jump to

Keyboard shortcuts

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