package
3.2.2+incompatible
Repository: https://github.com/laincloud/entry.git
Documentation: pkg.go.dev
# Functions
NewAuthorize creates a new http.Handler for the authorize operation.
NewAuthorizeDefault creates AuthorizeDefault with default headers values.
NewAuthorizeParams creates a new AuthorizeParams object no default values defined in spec.
NewAuthorizeTemporaryRedirect creates AuthorizeTemporaryRedirect with default headers values.
NewGetMe creates a new http.Handler for the get me operation.
NewGetMeDefault creates GetMeDefault with default headers values.
NewGetMeOK creates GetMeOK with default headers values.
NewGetMeParams creates a new GetMeParams object no default values defined in spec.
NewLogout creates a new http.Handler for the logout operation.
NewLogoutDefault creates LogoutDefault with default headers values.
NewLogoutOK creates LogoutOK with default headers values.
NewLogoutParams creates a new LogoutParams object no default values defined in spec.
# Constants
AuthorizeTemporaryRedirectCode is the HTTP code returned for type AuthorizeTemporaryRedirect.
GetMeOKCode is the HTTP code returned for type GetMeOK.
LogoutOKCode is the HTTP code returned for type LogoutOK.
# Structs
Authorize swagger:route GET /api/authorize auth authorize
Authorize authorize API
*/.
AuthorizeDefault generic error response
swagger:response authorizeDefault
*/.
AuthorizeParams contains all the bound params for the authorize operation typically these are obtained from a http.Request
swagger:parameters authorize.
AuthorizeTemporaryRedirect redirect to homepage of frontend
swagger:response authorizeTemporaryRedirect
*/.
AuthorizeURL generates an URL for the authorize operation.
GetMe swagger:route GET /api/me auth getMe
GetMe get me API
*/.
GetMeDefault generic error response
swagger:response getMeDefault
*/.
GetMeOK the user corresponding to the access_token
swagger:response getMeOK
*/.
GetMeParams contains all the bound params for the get me operation typically these are obtained from a http.Request
swagger:parameters getMe.
GetMeURL generates an URL for the get me operation.
Logout swagger:route GET /api/logout auth logout
Logout logout API
*/.
LogoutDefault generic error response
swagger:response logoutDefault
*/.
LogoutOK logout
swagger:response logoutOK
*/.
LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request
swagger:parameters logout.
LogoutURL generates an URL for the logout operation.
# Interfaces
AuthorizeHandler interface for that can handle valid authorize params.
GetMeHandler interface for that can handle valid get me params.
LogoutHandler interface for that can handle valid logout params.
# Type aliases
AuthorizeHandlerFunc turns a function with the right signature into a authorize handler.
GetMeHandlerFunc turns a function with the right signature into a get me handler.
LogoutHandlerFunc turns a function with the right signature into a logout handler.