Versions in this module Expand all Collapse all v0 v0.2.0 Oct 12, 2023 v0.1.0 Oct 12, 2023 Changes in this version + const GetAuthCallbackOKCode + const GetLoginOKCode + type GetAuthCallback struct + Context *middleware.Context + Handler GetAuthCallbackHandler + func NewGetAuthCallback(ctx *middleware.Context, handler GetAuthCallbackHandler) *GetAuthCallback + func (o *GetAuthCallback) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetAuthCallbackDefault struct + Payload *models.Error + func NewGetAuthCallbackDefault(code int) *GetAuthCallbackDefault + func (o *GetAuthCallbackDefault) SetPayload(payload *models.Error) + func (o *GetAuthCallbackDefault) SetStatusCode(code int) + func (o *GetAuthCallbackDefault) WithPayload(payload *models.Error) *GetAuthCallbackDefault + func (o *GetAuthCallbackDefault) WithStatusCode(code int) *GetAuthCallbackDefault + func (o *GetAuthCallbackDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetAuthCallbackHandler interface + Handle func(GetAuthCallbackParams) middleware.Responder + type GetAuthCallbackHandlerFunc func(GetAuthCallbackParams) middleware.Responder + func (fn GetAuthCallbackHandlerFunc) Handle(params GetAuthCallbackParams) middleware.Responder + type GetAuthCallbackOK struct + Payload *GetAuthCallbackOKBody + func NewGetAuthCallbackOK() *GetAuthCallbackOK + func (o *GetAuthCallbackOK) SetPayload(payload *GetAuthCallbackOKBody) + func (o *GetAuthCallbackOK) WithPayload(payload *GetAuthCallbackOKBody) *GetAuthCallbackOK + func (o *GetAuthCallbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetAuthCallbackOKBody struct + AccessToken string + func (o *GetAuthCallbackOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (o *GetAuthCallbackOKBody) MarshalBinary() ([]byte, error) + func (o *GetAuthCallbackOKBody) UnmarshalBinary(b []byte) error + func (o *GetAuthCallbackOKBody) Validate(formats strfmt.Registry) error + type GetAuthCallbackParams struct + HTTPRequest *http.Request + func NewGetAuthCallbackParams() GetAuthCallbackParams + func (o *GetAuthCallbackParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetAuthCallbackURL struct + func (o *GetAuthCallbackURL) Build() (*url.URL, error) + func (o *GetAuthCallbackURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetAuthCallbackURL) Must(u *url.URL, err error) *url.URL + func (o *GetAuthCallbackURL) SetBasePath(bp string) + func (o *GetAuthCallbackURL) String() string + func (o *GetAuthCallbackURL) StringFull(scheme, host string) string + func (o *GetAuthCallbackURL) WithBasePath(bp string) *GetAuthCallbackURL + type GetLogin struct + Context *middleware.Context + Handler GetLoginHandler + func NewGetLogin(ctx *middleware.Context, handler GetLoginHandler) *GetLogin + func (o *GetLogin) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetLoginDefault struct + Payload *models.Error + func NewGetLoginDefault(code int) *GetLoginDefault + func (o *GetLoginDefault) SetPayload(payload *models.Error) + func (o *GetLoginDefault) SetStatusCode(code int) + func (o *GetLoginDefault) WithPayload(payload *models.Error) *GetLoginDefault + func (o *GetLoginDefault) WithStatusCode(code int) *GetLoginDefault + func (o *GetLoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetLoginHandler interface + Handle func(GetLoginParams) middleware.Responder + type GetLoginHandlerFunc func(GetLoginParams) middleware.Responder + func (fn GetLoginHandlerFunc) Handle(params GetLoginParams) middleware.Responder + type GetLoginOK struct + Payload *GetLoginOKBody + func NewGetLoginOK() *GetLoginOK + func (o *GetLoginOK) SetPayload(payload *GetLoginOKBody) + func (o *GetLoginOK) WithPayload(payload *GetLoginOKBody) *GetLoginOK + func (o *GetLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetLoginOKBody struct + AccessToken string + func (o *GetLoginOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (o *GetLoginOKBody) MarshalBinary() ([]byte, error) + func (o *GetLoginOKBody) UnmarshalBinary(b []byte) error + func (o *GetLoginOKBody) Validate(formats strfmt.Registry) error + type GetLoginParams struct + HTTPRequest *http.Request + func NewGetLoginParams() GetLoginParams + func (o *GetLoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetLoginURL struct + func (o *GetLoginURL) Build() (*url.URL, error) + func (o *GetLoginURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetLoginURL) Must(u *url.URL, err error) *url.URL + func (o *GetLoginURL) SetBasePath(bp string) + func (o *GetLoginURL) String() string + func (o *GetLoginURL) StringFull(scheme, host string) string + func (o *GetLoginURL) WithBasePath(bp string) *GetLoginURL + type OauthSampleAPI struct + APIAuthorizer runtime.Authorizer + APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator + BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator + BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator + CommandLineOptionsGroups []swag.CommandLineOptionsGroup + CustomersCreateHandler customers.CreateHandler + CustomersGetIDHandler customers.GetIDHandler + GetAuthCallbackHandler GetAuthCallbackHandler + GetLoginHandler GetLoginHandler + JSONConsumer runtime.Consumer + JSONProducer runtime.Producer + Logger func(string, ...interface{}) + Middleware func(middleware.Builder) http.Handler + OauthSecurityAuth func(string, []string) (*models.Principal, error) + PreServerShutdown func() + ServeError func(http.ResponseWriter, *http.Request, error) + ServerShutdown func() + func NewOauthSampleAPI(spec *loads.Document) *OauthSampleAPI + func (o *OauthSampleAPI) AddMiddlewareFor(method, path string, builder middleware.Builder) + func (o *OauthSampleAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator + func (o *OauthSampleAPI) Authorizer() runtime.Authorizer + func (o *OauthSampleAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer + func (o *OauthSampleAPI) Context() *middleware.Context + func (o *OauthSampleAPI) DefaultConsumes() string + func (o *OauthSampleAPI) DefaultProduces() string + func (o *OauthSampleAPI) Formats() strfmt.Registry + func (o *OauthSampleAPI) HandlerFor(method, path string) (http.Handler, bool) + func (o *OauthSampleAPI) Init() + func (o *OauthSampleAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer + func (o *OauthSampleAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer) + func (o *OauthSampleAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) + func (o *OauthSampleAPI) RegisterProducer(mediaType string, producer runtime.Producer) + func (o *OauthSampleAPI) Serve(builder middleware.Builder) http.Handler + func (o *OauthSampleAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error) + func (o *OauthSampleAPI) SetDefaultConsumes(mediaType string) + func (o *OauthSampleAPI) SetDefaultProduces(mediaType string) + func (o *OauthSampleAPI) SetSpec(spec *loads.Document) + func (o *OauthSampleAPI) UseRedoc() + func (o *OauthSampleAPI) UseSwaggerUI() + func (o *OauthSampleAPI) Validate() error