Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiKey ¶
type ApiKey struct {
Name string
}
func (ApiKey) Scheme ¶
func (k ApiKey) Scheme() *openapi3.SecurityScheme
type Basic ¶
type Basic struct{}
func (Basic) Scheme ¶
func (b Basic) Scheme() *openapi3.SecurityScheme
type Bearer ¶
type Bearer struct{}
func (Bearer) Scheme ¶
func (b Bearer) Scheme() *openapi3.SecurityScheme
type OAuth2 ¶
type OAuth2 struct { AuthorizationURL string TokenURL string RefreshURL string Scopes map[string]string }
func (OAuth2) Scheme ¶
func (i OAuth2) Scheme() *openapi3.SecurityScheme
type OpenID ¶
type OpenID struct {
ConnectUrl string
}
func (OpenID) Scheme ¶
func (i OpenID) Scheme() *openapi3.SecurityScheme
type Security ¶
type Security interface { Provider() string Scheme() *openapi3.SecurityScheme }
Click to show internal directories.
Click to hide internal directories.