Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) OAuthCallback ¶
func (h *Handler) OAuthCallback(w http.ResponseWriter, r *http.Request)
func (*Handler) RedirectResult ¶
type OnRedirectFunc ¶
OnRedirectFunc called when handler serve redirect request.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetAuthCodeURL ¶
func (s *Server) GetAuthCodeURL(onRedirect OnRedirectFunc, cfg oauth2.Config, options ...oauth2.AuthCodeOption) (authID, authCodeURL string, err error)
Click to show internal directories.
Click to hide internal directories.