Interface: $Properties
Properties of a SecurityScheme.
Extended by
Properties
authorizationUrl?
optionalauthorizationUrl?:string|null
The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/implicit and oauth2/accessCode.
description?
optionaldescription?:string|null
A short description for security scheme.
extensions?
optionalextensions?: {[k:string]:$Properties; } |null
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
flow?
optionalflow?:Flow|null
The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2.
in?
optionalin?:In|null
The location of the API key. Valid values are "query" or "header". Valid for apiKey.
name?
optionalname?:string|null
The name of the header or query parameter to be used. Valid for apiKey.
scopes?
optionalscopes?:$Properties|null
The available scopes for the OAuth2 security scheme. Valid for oauth2.
tokenUrl?
optionaltokenUrl?:string|null
The token URL to be used for this flow. This SHOULD be in the form of a URL. Valid for oauth2/password, oauth2/application and oauth2/accessCode.
type?
optionaltype?:Type|null
The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2".