Documentation ¶
Index ¶
Constants ¶
View Source
const ( Credentials = "credentials" BasicAuth = "BasicAuth" BearerAuth = "BearerAuth" ApiKeyAuth = "ApiKeyAuth" OpenIDAuth = "OpenIDAuth" OAuth2Auth = "OAuth2Auth" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic struct {
Security
}
func (*Basic) Scheme ¶
func (b *Basic) Scheme() *openapi3.SecurityScheme
type Bearer ¶
type Bearer struct {
Security
}
func (*Bearer) Scheme ¶
func (b *Bearer) Scheme() *openapi3.SecurityScheme
type OAuth2 ¶
type OAuth2 struct { Security AuthorizationURL string TokenURL string RefreshURL string Scopes map[string]string }
func (*OAuth2) Scheme ¶
func (i *OAuth2) Scheme() *openapi3.SecurityScheme
Click to show internal directories.
Click to hide internal directories.