handler

package
v0.0.0-...-3656278 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthHandler

func AuthHandler(oauth2 fosite.OAuth2Provider) http.HandlerFunc

func IntrospectHandler

func IntrospectHandler(oauth2 fosite.OAuth2Provider) http.HandlerFunc

func JWKsHandler

func JWKsHandler(signer *jwt.DefaultSigner) http.HandlerFunc

func OIDCConfigurationHandler

func OIDCConfigurationHandler() http.HandlerFunc

func RegisterHandlers

func RegisterHandlers(r *mux.Router, oauth2 fosite.OAuth2Provider, store fosite.Storage)

func RevokeHandler

func RevokeHandler(oauth2 fosite.OAuth2Provider) http.HandlerFunc

func TokenHandler

func TokenHandler(oauth2 fosite.OAuth2Provider) http.HandlerFunc

Types

type OIDCConfiguration

type OIDCConfiguration struct {
	Issuer      string `json:"issuer"`
	JwksURI     string `json:"jwks_uri"`
	AuthURL     string `json:"authorization_endpoint"`
	TokenURL    string `json:"token_endpoint"`
	UserInfoURL string `json:"userinfo_endpoint"`
}

Jump to

Keyboard shortcuts

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