| Modifier and Type | Class and Description |
|---|---|
| public static enum | SecurityScheme.
In is a REQUIRED property that specifies the location of the API key. |
| public static enum | SecurityScheme.
Type is a REQUIRED property that specifies the type of SecurityScheme instance. |
| Modifier and Type | Method and Description |
|---|---|
| public default SecurityScheme | Returns: SecurityScheme instance with the set bearerFormat propertya hint to the client to identify how the bearer token is formatted bearerFormat)bearerFormat is intended as a hint to the client to identify how the bearer token is formatted. |
| public default SecurityScheme | Returns: SecurityScheme instance with the set description propertyshort description of the SecuirtyScheme instance description)A short description for security schema. |
| public default SecurityScheme | Returns: SecurityScheme instance with the set flows propertyan object containing configuration information for the flow types supported flows)Flows is a REQUIRED property. |
| public String | Returns: String bearerFormatbearerFormat is intended as a hint to the client to identify how the bearer token is formatted. |
| public String | |
| public OAuthFlows | |
| public SecurityScheme. | |
| public String | Returns: String nameName is a REQUIRED property - this is the name of the header, query or cookie parameter to be used. |
| public String | |
| public String | Returns: String schemeSchema is a REQUIRED property that is the name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235. |
| public SecurityScheme. | Returns: Type typeType is a REQUIRED property that specifies the type of SecurityScheme instance. |
| public default SecurityScheme | Returns: SecurityScheme instance with the set in propertythe location of the API key inIn is a REQUIRED property that indicates the location of the API key. |
| public default SecurityScheme | |
| public default SecurityScheme | Returns: SecurityScheme instance with the set openIdConnectUrl propertya URL where OAuth2 configuration values are stored openIdConnectUrl)penIdConnectUrl is a REQUIRED property. |
| public default SecurityScheme | Returns: SecurityScheme instance with the set scheme propertythe name of the HTTP Authorization scheme to be used in the Authorization header scheme)Schema is a REQUIRED property that is the name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235. |
| public void | setBearerFormat(String
a hint to the client to identify how the bearer token is formatted bearerFormat)bearerFormat is intended as a hint to the client to identify how the bearer token is formatted. |
| public void | setDescription(String
short description of the SecuirtyScheme instance description)A short description for security schema. |
| public void | setFlows(OAuthFlows
an object containing configuration information for the flow types supported flows)Flows is a REQUIRED property. |
| public void | setIn(SecurityScheme.
the location of the API key inIn is a REQUIRED property that indicates the location of the API key. |
| public void | |
| public void | setOpenIdConnectUrl(String
a URL where OAuth2 configuration values are stored openIdConnectUrl)openIdConnectUrl is a REQUIRED property. |
| public void | |
| public void | setType(SecurityScheme.
the type of SecurityScheme instance typeType is a REQUIRED property that specifies the type of SecurityScheme instance. |
| public default SecurityScheme | Returns: SecurityScheme instance with the set type propertythe type of SecurityScheme instance typeType is a REQUIRED property that specifies the type of SecurityScheme instance. |
| bearerFormat | back to summary |
|---|---|
| public default SecurityScheme bearerFormat(String bearerFormat) bearerFormat is intended as 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. This method sets the bearerFormat property of SecurityScheme instance to the given String argument and returns the modified instance.
| |
| description | back to summary |
|---|---|
| public default SecurityScheme description(String description) A short description for security schema. This method sets the description property of SecurityScheme instance and returns the modified instance.
| |
| flows | back to summary |
|---|---|
| public default SecurityScheme flows(OAuthFlows flows) Flows is a REQUIRED property. Flows is an object containing configuration information for the flow types supported. This method sets the flows property of SecurityScheme instance to the given OAuthFlows argument and returns the modified instance.
| |
| getBearerFormat | back to summary |
|---|---|
| public String getBearerFormat() bearerFormat is intended as 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. This method returns the bearerFormat property from SecurityScheme instance.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() A short description for security schema. This method returns the description property from SecurityScheme instance.
| |
| getFlows | back to summary |
|---|---|
| public OAuthFlows getFlows() Flows is a REQUIRED property. Flows is an object containing configuration information for the flow types supported. This method returns the flows property from SecurityScheme instance.
| |
| getIn | back to summary |
|---|---|
| public SecurityScheme. In is a REQUIRED property that indicates the location of the API key. Valid values are "query", "header", "cookie". This method returns the in property from SecurityScheme instance.
| |
| getName | back to summary |
|---|---|
| public String getName() Name is a REQUIRED property - this is the name of the header, query or cookie parameter to be used. This method returns the name property from SecurityScheme instance.
| |
| getOpenIdConnectUrl | back to summary |
|---|---|
| public String getOpenIdConnectUrl() openIdConnectUrl is a REQUIRED property. This property allows to discover OAuth2 configuration values. openIdConnectUrl MUST be in a form of a URL. This method returns the openIdConnectUrl property from SecurityScheme instance.
| |
| getScheme | back to summary |
|---|---|
| public String getScheme() Schema is a REQUIRED property that is the name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235. This method returns the scheme property from SecurityScheme instance.
| |
| getType | back to summary |
|---|---|
| public SecurityScheme. Type is a REQUIRED property that specifies the type of SecurityScheme instance. This method returns the type property from SecurityScheme instance.
| |
| in | back to summary |
|---|---|
| public default SecurityScheme in(SecurityScheme. In is a REQUIRED property that indicates the location of the API key. Valid values are "query", "header", "cookie". This method sets the in property of SecurityScheme instance to the given In argument and returns the modified instance.
| |
| name | back to summary |
|---|---|
| public default SecurityScheme name(String name) Name is a REQUIRED property - this is the name of the header, query or cookie parameter to be used. This method sets the name property of SecurityScheme instance to the given String argument and returns the modified instance.
| |
| openIdConnectUrl | back to summary |
|---|---|
| public default SecurityScheme openIdConnectUrl(String openIdConnectUrl) penIdConnectUrl is a REQUIRED property. This property allows to discover OAuth2 configuration values. openIdConnectUrl MUST be in a form of a URL. This method sets the openIdConnectUrl property of SecurityScheme instance to the given String argument and returns the modified instance.
| |
| scheme | back to summary |
|---|---|
| public default SecurityScheme scheme(String scheme) Schema is a REQUIRED property that is the name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235. This method sets the scheme property of SecurityScheme instance to the given String argument and returns the modified instance.
| |
| setBearerFormat | back to summary |
|---|---|
| public void setBearerFormat(String bearerFormat) bearerFormat is intended as 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. This method sets the bearerFormat property of SecurityScheme instance to the given String argument.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) A short description for security schema. This method sets the description property of SecurityScheme instance.
| |
| setFlows | back to summary |
|---|---|
| public void setFlows(OAuthFlows flows) Flows is a REQUIRED property. Flows is an object containing configuration information for the flow types supported. This method sets the flows property of SecurityScheme instance to the given OAuthFlows argument.
| |
| setIn | back to summary |
|---|---|
| public void setIn(SecurityScheme. In is a REQUIRED property that indicates the location of the API key. Valid values are "query", "header", "cookie". The method sets the in property of SecurityScheme instance to the given In argument.
| |
| setName | back to summary |
|---|---|
| public void setName(String name) Name is a REQUIRED property - this is the name of the header, query or cookie parameter to be used. This method sets the name property of SecurityScheme instance to the parameter.
| |
| setOpenIdConnectUrl | back to summary |
|---|---|
| public void setOpenIdConnectUrl(String openIdConnectUrl) openIdConnectUrl is a REQUIRED property. This property allows to discover OAuth2 configuration values. openIdConnectUrl MUST be in a form of a URL. This method sets the openIdConnectUrl property of a SecurityScheme instance to the given String argument.
| |
| setScheme | back to summary |
|---|---|
| public void setScheme(String scheme) Schema is a REQUIRED property that is the name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235. This method sets the scheme property of SecurityScheme instance to the given String argument.
| |
| setType | back to summary |
|---|---|
| public void setType(SecurityScheme. Type is a REQUIRED property that specifies the type of SecurityScheme instance. This method sets the type property of SecurityScheme instance to the given Type argument.
| |
| type | back to summary |
|---|---|
| public default SecurityScheme type(SecurityScheme. Type is a REQUIRED property that specifies the type of SecurityScheme instance. This method sets the type property of SecurityScheme instance to the given Type argument and returns the modified instance.
| |
This class is used in getIn and setIn to get or set the in of SecurityScheme object to one of the enum constants listed.
| Modifier and Type | Field and Description |
|---|---|
| public static final SecurityScheme. | |
| public static final SecurityScheme. | |
| public static final SecurityScheme. | |
| private final String |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static SecurityScheme. | |
| public static SecurityScheme. |
| COOKIE | back to summary |
|---|---|
| public static final SecurityScheme. | |
| HEADER | back to summary |
|---|---|
| public static final SecurityScheme. | |
| QUERY | back to summary |
|---|---|
| public static final SecurityScheme. | |
| value | back to summary |
|---|---|
| private final String value | |
| In | back to summary |
|---|---|
| private In(String value) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static SecurityScheme. | |
| values | back to summary |
|---|---|
| public static SecurityScheme. | |
This class is used in getType and setType to get or set the type of SecurityScheme object to one of the valid values.
| Modifier and Type | Field and Description |
|---|---|
| public static final SecurityScheme. | |
| public static final SecurityScheme. | |
| public static final SecurityScheme. | |
| public static final SecurityScheme. | |
| public static final SecurityScheme. | |
| private final String |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static SecurityScheme. | |
| public static SecurityScheme. |
| APIKEY | back to summary |
|---|---|
| public static final SecurityScheme. | |
| HTTP | back to summary |
|---|---|
| public static final SecurityScheme. | |
| MUTUALTLS | back to summary |
|---|---|
| public static final SecurityScheme. | |
| OAUTH2 | back to summary |
|---|---|
| public static final SecurityScheme. | |
| OPENIDCONNECT | back to summary |
|---|---|
| public static final SecurityScheme. | |
| value | back to summary |
|---|---|
| private final String value | |
| Type | back to summary |
|---|---|
| private Type(String value) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static SecurityScheme. | |
| values | back to summary |
|---|---|
| public static SecurityScheme. | |