Documentation ¶
Index ¶
- func BearerMiddleware(aud, iss string) *jwtmiddleware.JWTMiddleware
- func NewGhostware(cfg *clientcredentials.Config) ghostprotector
- func NewHybridLock(p *oidc.Provider, clntCfg *clientcredentials.Config, usrConfig *oauth2.Config) hybridprotector
- func NewUILock(p *oidc.Provider, cfg *oauth2.Config) uiprotector
- func RedirectToLastLocation(w http.ResponseWriter, r *http.Request)
- type JSONWebKeys
- type Jwks
- type Protector
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 RedirectToLastLocation ¶ added in v1.17.9
func RedirectToLastLocation(w http.ResponseWriter, r *http.Request)
Types ¶
type JSONWebKeys ¶
type Jwks ¶
type Jwks struct {
Keys []JSONWebKeys `json:"keys"`
}
Click to show internal directories.
Click to hide internal directories.