Versions in this module Expand all Collapse all v0 v0.2.2 Feb 4, 2015 v0.2.1 Jan 28, 2015 Changes in this version + type Handler struct + func NewExternalOAuthRedirector(provider Provider, state State, redirectURL string, ...) (*Handler, error) + func (h *Handler) AuthenticationRedirect(w http.ResponseWriter, req *http.Request) error + func (h *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type Provider interface + AddCustomParameters func(*osincli.AuthorizeRequest) + GetUserIdentity func(*osincli.AccessData) (authapi.UserIdentityInfo, bool, error) + NewConfig func() (*osincli.ClientConfig, error) + type State interface + Check func(state string, w http.ResponseWriter, req *http.Request) (bool, error) + Generate func(w http.ResponseWriter, req *http.Request) (string, error) + func DefaultState() State