Documentation ¶
Index ¶
- func AccessTokenExpireHandler(w http.ResponseWriter, r *http.Request) (exp time.Duration, err error)
- func AuthorizeScopeHandler(w http.ResponseWriter, r *http.Request) (scope string, err error)
- func ClientInfoHandler(r *http.Request) (clientID, clientSecret string, err error)
- func InternalErrorHandler(err error) (re *errors.Response)
- func PasswordAuthorizationHandler(ctx context.Context, clientID, account, password string) (userID string, err error)
- func PreRedirectErrorHandler(w http.ResponseWriter, req *server.AuthorizeRequest, err error) error
- func ResponseErrorHandler(re *errors.Response)
- func UserAuthorizationHandler(w http.ResponseWriter, r *http.Request) (id string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizeScopeHandler ¶
func ClientInfoHandler ¶
func InternalErrorHandler ¶
func PreRedirectErrorHandler ¶
func PreRedirectErrorHandler(w http.ResponseWriter, req *server.AuthorizeRequest, err error) error
func ResponseErrorHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.