handler

package
v0.0.0-...-be43ff6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2015 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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