oidc

package module
v0.0.0-...-4f747bd Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 18 Imported by: 1

README

oidc

This package is split off from go-oidc-middleware to provide a re-usable package.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiscoveryUriFromIssuer

func GetDiscoveryUriFromIssuer(issuer string) string

func GetTokenString

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

GetTokenString extracts a token string.

func NewHandler

func NewHandler(setters ...options.Option) (*handler, error)

Types

type GetHeaderFn

type GetHeaderFn func(key string) string

type ParseTokenFunc

type ParseTokenFunc func(ctx context.Context, tokenString string) (jwt.Token, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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