package
0.1.4
Repository: https://github.com/goolanger/swaggerize-auth.git
Documentation: pkg.go.dev

# Functions

NewAuthorize creates a new http.Handler for the authorize operation.
NewAuthorizeInternalServerError creates AuthorizeInternalServerError with default headers values.
NewAuthorizeOK creates AuthorizeOK with default headers values.
NewAuthorizeParams creates a new AuthorizeParams object no default values defined in spec.
NewAuthorizeSubmit creates a new http.Handler for the authorize submit operation.
NewAuthorizeSubmitInternalServerError creates AuthorizeSubmitInternalServerError with default headers values.
NewAuthorizeSubmitOK creates AuthorizeSubmitOK with default headers values.
NewAuthorizeSubmitParams creates a new AuthorizeSubmitParams object no default values defined in spec.
NewProvider creates a new http.Handler for the provider operation.
NewProviderInternalServerError creates ProviderInternalServerError with default headers values.
NewProviderParams creates a new ProviderParams object no default values defined in spec.
NewToken creates a new http.Handler for the token operation.
NewTokenInternalServerError creates TokenInternalServerError with default headers values.
NewTokenOK creates TokenOK with default headers values.
NewTokenParams creates a new TokenParams object no default values defined in spec.

# Constants

AuthorizeInternalServerErrorCode is the HTTP code returned for type AuthorizeInternalServerError.
AuthorizeOKCode is the HTTP code returned for type AuthorizeOK.
AuthorizeSubmitInternalServerErrorCode is the HTTP code returned for type AuthorizeSubmitInternalServerError.
AuthorizeSubmitOKCode is the HTTP code returned for type AuthorizeSubmitOK.
ProviderInternalServerErrorCode is the HTTP code returned for type ProviderInternalServerError.
TokenInternalServerErrorCode is the HTTP code returned for type TokenInternalServerError.
TokenOKCode is the HTTP code returned for type TokenOK.

# Structs

Authorize swagger:route GET /auth/oauth/authorize Oauth authorize Authorize authorize API */.
AuthorizeInternalServerError internal server error swagger:response authorizeInternalServerError */.
AuthorizeOK Ok swagger:response authorizeOK */.
AuthorizeParams contains all the bound params for the authorize operation typically these are obtained from a http.Request swagger:parameters Authorize.
AuthorizeSubmit swagger:route POST /auth/oauth/authorize Oauth authorizeSubmit AuthorizeSubmit authorize submit API */.
AuthorizeSubmitInternalServerError internal server error swagger:response authorizeSubmitInternalServerError */.
AuthorizeSubmitOK operation success swagger:response authorizeSubmitOK */.
AuthorizeSubmitParams contains all the bound params for the authorize submit operation typically these are obtained from a http.Request swagger:parameters AuthorizeSubmit.
AuthorizeSubmitURL generates an URL for the authorize submit operation.
AuthorizeURL generates an URL for the authorize operation.
Provider swagger:route GET /auth/oauth/providers/{provider} Oauth provider Provider provider API */.
ProviderInternalServerError internal server error swagger:response providerInternalServerError */.
ProviderParams contains all the bound params for the provider operation typically these are obtained from a http.Request swagger:parameters Provider.
ProviderURL generates an URL for the provider operation.
Token swagger:route POST /auth/oauth/token Oauth token Token token API */.
TokenInternalServerError internal server error swagger:response tokenInternalServerError */.
TokenOK operation success swagger:response tokenOK */.
TokenOKBody token o k body swagger:model TokenOKBody.
TokenParams contains all the bound params for the token operation typically these are obtained from a http.Request swagger:parameters Token.
TokenURL generates an URL for the token operation.

# Interfaces

AuthorizeHandler interface for that can handle valid authorize params.
AuthorizeSubmitHandler interface for that can handle valid authorize submit params.
ProviderHandler interface for that can handle valid provider params.
TokenHandler interface for that can handle valid token params.

# Type aliases

AuthorizeHandlerFunc turns a function with the right signature into a authorize handler.
AuthorizeSubmitHandlerFunc turns a function with the right signature into a authorize submit handler.
ProviderHandlerFunc turns a function with the right signature into a provider handler.
TokenHandlerFunc turns a function with the right signature into a token handler.