| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the name of this apiKey type SecurityScheme instanceApplies to and is REQUIRED for SecurityScheme of apiKey type. |
| public String | |
| public String | Returns: description of this SecurityScheme instanceA short description for security scheme. |
| public Extension[] | Returns: array of extensionsList of extensions to be added to the |
| public OAuthFlows | Returns: flow types supported by this SecurityScheme instanceApplies to and is REQUIRED for SecurityScheme of oauth2 type. |
| public SecuritySchemeIn | Returns: the location of the API keyApplies to and is REQUIRED for SecurityScheme of apiKey type. |
| public String | Returns: URL where OAuth2 configuration values are storedApplies to and is REQUIRED for SecurityScheme of openIdConnect type. |
| public String | |
| public String | Returns: the name of the HTTP Authorization schemeApplies to and is REQUIRED for SecurityScheme of http type. |
| public String | Returns: the name of this SecurityScheme instanceThe name of this SecurityScheme. |
| public SecuritySchemeType |
| apiKeyName | back to summary |
|---|---|
| public String apiKeyName() Applies to and is REQUIRED for SecurityScheme of apiKey type. The name of the header, query or cookie parameter to be used.
| |
| bearerFormat | back to summary |
|---|---|
| public String bearerFormat() Applies to http ("bearer") type. A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
| |
| description | back to summary |
|---|---|
| public String description() A short description for security scheme. CommonMark syntax can be used for rich text representation.
| |
| extensions | back to summary |
|---|---|
| public Extension[] extensions() List of extensions to be added to the
| |
| flows | back to summary |
|---|---|
| public OAuthFlows flows() Applies to and is REQUIRED for SecurityScheme of oauth2 type. An object containing configuration information for the flow types supported.
| |
| in | back to summary |
|---|---|
| public SecuritySchemeIn in() Applies to and is REQUIRED for SecurityScheme of apiKey type. The location of the API key. Valid values are defined by SecuritySchemeIn enum. Ignored when empty string.
| |
| openIdConnectUrl | back to summary |
|---|---|
| public String openIdConnectUrl() Applies to and is REQUIRED for SecurityScheme of openIdConnect type. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of a URL.
| |
| ref | back to summary |
|---|---|
| public String ref() Reference value to a SecurityScheme object.
This property provides a reference to an object defined elsewhere. This property may be used with
| |
| scheme | back to summary |
|---|---|
| public String scheme() Applies to and is REQUIRED for SecurityScheme of http type. The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC 7235.
| |
| securitySchemeName | back to summary |
|---|---|
| public String securitySchemeName() The name of this SecurityScheme. Used as the key to add this security scheme to the 'securitySchemes' map under Components object. It is a REQUIRED property unless this is only a reference to a security scheme instance.
| |
| type | back to summary |
|---|---|
| public SecuritySchemeType type() The type of the security scheme. Valid values are defined by SecuritySchemeType enum. Ignored when empty string. Type is a REQUIRED property unless this is only a reference to a SecuirtyScheme instance.
| |