File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ func (d *API) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[stri
184184 return result
185185}
186186
187- // AuthorizersFor returns the registered authorizer
187+ // Authorizer returns the registered authorizer
188188func (d * API ) Authorizer () runtime.Authorizer {
189189 return d .authorizer
190190}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ func BasicAuth(authenticate UserPassAuthentication) runtime.Authenticator {
9494 return BasicAuthRealm (DefaultRealmName , authenticate )
9595}
9696
97- // BasicAuthBasicAuthRealm creates a basic auth authenticator with the provided authentication function and realm name
97+ // BasicAuthRealm creates a basic auth authenticator with the provided authentication function and realm name
9898func BasicAuthRealm (realm string , authenticate UserPassAuthentication ) runtime.Authenticator {
9999 if realm == "" {
100100 realm = DefaultRealmName
@@ -118,7 +118,7 @@ func BasicAuthCtx(authenticate UserPassAuthenticationCtx) runtime.Authenticator
118118 return BasicAuthRealmCtx (DefaultRealmName , authenticate )
119119}
120120
121- // BasicAuthCtx creates a basic auth authenticator with the provided authentication function and realm name with support for context.Context
121+ // BasicAuthRealmCtx creates a basic auth authenticator with the provided authentication function and realm name with support for context.Context
122122func BasicAuthRealmCtx (realm string , authenticate UserPassAuthenticationCtx ) runtime.Authenticator {
123123 if realm == "" {
124124 realm = DefaultRealmName
You can’t perform that action at this time.
0 commit comments