open

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: GPL-3.0 Imports: 16 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BearerMiddleware

func BearerMiddleware(aud, iss string) *jwtmiddleware.JWTMiddleware

func NewGhostware added in v1.16.3

func NewGhostware(cfg *clientcredentials.Config) ghostprotector

func NewHybridLock added in v1.19.9

func NewHybridLock(p *oidc.Provider, clntCfg *clientcredentials.Config, usrConfig *oauth2.Config) hybridprotector

func NewUILock

func NewUILock(p *oidc.Provider, cfg *oauth2.Config) uiprotector

func RedirectToLastLocation added in v1.17.9

func RedirectToLastLocation(w http.ResponseWriter, r *http.Request)

Types

type JSONWebKeys

type JSONWebKeys struct {
	Kty string   `json:"kty"`
	Kid string   `json:"kid"`
	Use string   `json:"use"`
	N   string   `json:"n"`
	E   string   `json:"e"`
	X5c []string `json:"x5c"`
}

type Jwks

type Jwks struct {
	Keys []JSONWebKeys `json:"keys"`
}

type Protector added in v1.19.9

type Protector interface {
}

Jump to

Keyboard shortcuts

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