Versions in this module Expand all Collapse all v0 v0.17.0 Oct 7, 2018 Changes in this version + type AuthSampleAPI 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 + JSONConsumer runtime.Consumer + JSONProducer runtime.Producer + KeyAuth func(string) (*models.Principal, error) + Logger func(string, ...interface{}) + Middleware func(middleware.Builder) http.Handler + ServeError func(http.ResponseWriter, *http.Request, error) + ServerShutdown func() + func NewAuthSampleAPI(spec *loads.Document) *AuthSampleAPI + func (o *AuthSampleAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator + func (o *AuthSampleAPI) Authorizer() runtime.Authorizer + func (o *AuthSampleAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer + func (o *AuthSampleAPI) Context() *middleware.Context + func (o *AuthSampleAPI) DefaultConsumes() string + func (o *AuthSampleAPI) DefaultProduces() string + func (o *AuthSampleAPI) Formats() strfmt.Registry + func (o *AuthSampleAPI) HandlerFor(method, path string) (http.Handler, bool) + func (o *AuthSampleAPI) Init() + func (o *AuthSampleAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer + func (o *AuthSampleAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer) + func (o *AuthSampleAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) + func (o *AuthSampleAPI) RegisterProducer(mediaType string, producer runtime.Producer) + func (o *AuthSampleAPI) Serve(builder middleware.Builder) http.Handler + func (o *AuthSampleAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error) + func (o *AuthSampleAPI) SetDefaultConsumes(mediaType string) + func (o *AuthSampleAPI) SetDefaultProduces(mediaType string) + func (o *AuthSampleAPI) SetSpec(spec *loads.Document) + func (o *AuthSampleAPI) Validate() error