Class OAuthFlows
The OAuthFlows Object allows configuration of the supported OAuth Flows. This object contains the configuration for different OAuth 2.0 flows that can be used to secure the API. Each flow type has its own specific configuration requirements and use cases.
OpenAPI Specification:
The OAuthFlows Object is composed of the following fields:
- implicit (- OAuthFlow) - Configuration for the OAuth Implicit flow
- password (- OAuthFlow) - Configuration for the OAuth Resource Owner Password flow
- clientCredentials (- OAuthFlow) - Configuration for the OAuth Client Credentials flow
- authorizationCode (- OAuthFlow) - Configuration for the OAuth Authorization Code flow
Example:
   
   
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Make a deep copy of this object.<T> TGeneric property getter.Bean property getter:authorizationCode .Bean property getter:clientCredentials .Bean property getter:implicit .Bean property getter:password .keySet()Returns all the keys on this element.Generic property setter.setAuthorizationCode(OAuthFlow value) Bean property setter:authorizationCode .setClientCredentials(OAuthFlow value) Bean property setter:items .setImplicit(OAuthFlow value) Bean property setter:items .setPassword(OAuthFlow value) Bean property setter:items .protected OAuthFlowsstrict()Sets strict mode on this bean.Sets strict mode on this bean.
- 
Constructor Details- 
OAuthFlowspublic OAuthFlows()Default constructor.
- 
OAuthFlowsCopy constructor.- Parameters:
- copyFrom- The object to copy.
 
 
- 
- 
Method Details- 
copyMake a deep copy of this object.- Returns:
- A deep copy of this object.
 
- 
strictDescription copied from class:OpenApiElementSets strict mode on this bean.- Overrides:
- strictin class- OpenApiElement
- Returns:
- This object
 
- 
strictDescription copied from class:OpenApiElementSets strict mode on this bean.- Overrides:
- strictin class- OpenApiElement
- Parameters:
- value- The new value for this property.
 Non-boolean values will be converted to boolean using- Boolean..- valueOf (value.toString())
 Can be- null (interpreted as- false ).
- Returns:
- This object
 
- 
getImplicitBean property getter:implicit .Describes the type of items in the array. - Returns:
- The property value, or null if it is not set.
 
- 
setImplicitBean property setter:items .Describes the type of items in the array. - Parameters:
- value- The new value for this property.
 Property value is required if- typeis- "array" .
 Can be- null to unset the property.
- Returns:
- This object
 
- 
getPasswordBean property getter:password .Describes the type of items in the array. - Returns:
- The property value, or null if it is not set.
 
- 
setPasswordBean property setter:items .Describes the type of items in the array. - Parameters:
- value- The new value for this property.
 Property value is required if- typeis- "array" .
 Can be- null to unset the property.
- Returns:
- This object
 
- 
getClientCredentialsBean property getter:clientCredentials .Describes the type of items in the array. - Returns:
- The property value, or null if it is not set.
 
- 
setClientCredentialsBean property setter:items .Describes the type of items in the array. - Parameters:
- value- The new value for this property.
 Property value is required if- typeis- "array" .
 Can be- null to unset the property.
- Returns:
- This object
 
- 
getAuthorizationCodeBean property getter:authorizationCode .Describes the type of items in the array. - Returns:
- The property value, or null if it is not set.
 
- 
setAuthorizationCodeBean property setter:authorizationCode .Describes the type of items in the array. - Parameters:
- value- The new value for this property.
 Property value is required if- typeis- "array" .
 Can be- null to unset the property.
- Returns:
- This object
 
- 
getDescription copied from class:OpenApiElementGeneric property getter.Can be used to retrieve non-standard Swagger fields such as "$ref" .- Overrides:
- getin class- OpenApiElement
- Type Parameters:
- T- The datatype to cast the value to.
- Parameters:
- property- The property name to retrieve.
- type- The datatype to cast the value to.
- Returns:
- The property value, or null if the property does not exist or is not set.
 
- 
setDescription copied from class:OpenApiElementGeneric property setter.Can be used to set non-standard Swagger fields such as "$ref" .- Overrides:
- setin class- OpenApiElement
- Parameters:
- property- The property name to set. Must not be- null .
- value- The new value for the property.
- Returns:
- This object
 
- 
keySetDescription copied from class:OpenApiElementReturns all the keys on this element.- Overrides:
- keySetin class- OpenApiElement
- Returns:
- All the keys on this element.
   
 Nevernull .
 
 
-