package
0.0.0-20241227064428-844e847ef4b4
Repository: https://github.com/ianchen0119/go-swagger.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewGetAuthCallback creates a new http.Handler for the get auth callback operation.
NewGetAuthCallbackDefault creates GetAuthCallbackDefault with default headers values.
NewGetAuthCallbackOK creates GetAuthCallbackOK with default headers values.
NewGetAuthCallbackParams creates a new GetAuthCallbackParams object
There are no default values defined in the spec.
NewGetLogin creates a new http.Handler for the get login operation.
NewGetLoginDefault creates GetLoginDefault with default headers values.
NewGetLoginOK creates GetLoginOK with default headers values.
NewGetLoginParams creates a new GetLoginParams object
There are no default values defined in the spec.
NewOauthSampleAPI creates a new OauthSample instance.
# Constants
GetAuthCallbackOKCode is the HTTP code returned for type GetAuthCallbackOK.
GetLoginOKCode is the HTTP code returned for type GetLoginOK.
# Structs
GetAuthCallback swagger:route GET /auth/callback getAuthCallback
return access_token
*/.
GetAuthCallbackDefault error
swagger:response getAuthCallbackDefault
*/.
GetAuthCallbackOK login
swagger:response getAuthCallbackOK
*/.
GetAuthCallbackOKBody get auth callback o k body
swagger:model GetAuthCallbackOKBody.
GetAuthCallbackParams contains all the bound params for the get auth callback operation typically these are obtained from a http.Request
swagger:parameters GetAuthCallback.
GetAuthCallbackURL generates an URL for the get auth callback operation.
GetLogin swagger:route GET /login getLogin
login through oauth2 server
*/.
GetLoginDefault error
swagger:response getLoginDefault
*/.
GetLoginOK login
swagger:response getLoginOK
*/.
GetLoginOKBody get login o k body
swagger:model GetLoginOKBody.
GetLoginParams contains all the bound params for the get login operation typically these are obtained from a http.Request
swagger:parameters GetLogin.
GetLoginURL generates an URL for the get login operation.
OauthSampleAPI the oauth sample API */.
# Interfaces
GetAuthCallbackHandler interface for that can handle valid get auth callback params.
GetLoginHandler interface for that can handle valid get login params.
# Type aliases
GetAuthCallbackHandlerFunc turns a function with the right signature into a get auth callback handler.
GetLoginHandlerFunc turns a function with the right signature into a get login handler.