Documentation
¶
Index ¶
- func DefaultConfig() *osin.ServerConfig
- type Handler
- func (h *Handler) AuthorizeHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) IntrospectHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) RevokeHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SetRoutes(r *mux.Router, extractor func(h hctx.ContextHandler) hctx.ContextHandler)
- func (h *Handler) TokenHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func DefaultConfig() *osin.ServerConfig
Types ¶
type Handler ¶
type Handler struct {
Accounts account.Storage
Policies policy.Storage
Guard guard.Guarder
Connections connection.Storage
States storage.Storage
Providers provider.Registry
Issuer string
Audience string
JWT *jwt.JWT
SignUpLocation string
SignInLocation string
HostURL string
Middleware middleware.Middleware
OAuthConfig *osin.ServerConfig
OAuthStore osinStore.Storage
// contains filtered or unexported fields
}
func (*Handler) AuthorizeHandler ¶
func (h *Handler) AuthorizeHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) IntrospectHandler ¶
func (h *Handler) IntrospectHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) RevokeHandler ¶
func (h *Handler) RevokeHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) SetRoutes ¶
func (h *Handler) SetRoutes(r *mux.Router, extractor func(h hctx.ContextHandler) hctx.ContextHandler)
func (*Handler) TokenHandler ¶
func (h *Handler) TokenHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.