endpoint

package
v0.0.0-...-1cc1a95 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessTokenExpireHandler

func AccessTokenExpireHandler(w http.ResponseWriter, r *http.Request) (exp time.Duration, err error)

func AuthorizeScopeHandler

func AuthorizeScopeHandler(w http.ResponseWriter, r *http.Request) (scope string, err error)

func ClientInfoHandler

func ClientInfoHandler(r *http.Request) (clientID, clientSecret string, err error)

func InternalErrorHandler

func InternalErrorHandler(err error) (re *errors.Response)

func PasswordAuthorizationHandler

func PasswordAuthorizationHandler(ctx context.Context, clientID, account, password string) (userID string, err error)

func PreRedirectErrorHandler

func PreRedirectErrorHandler(w http.ResponseWriter, req *server.AuthorizeRequest, err error) error

func ResponseErrorHandler

func ResponseErrorHandler(re *errors.Response)

func UserAuthorizationHandler

func UserAuthorizationHandler(w http.ResponseWriter, r *http.Request) (id string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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