public interface OAuthFlows extends Constructible, Extensible
Modifier and Type | Method and Description |
---|---|
OAuthFlows |
authorizationCode(OAuthFlow authorizationCode)
OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0
|
OAuthFlows |
clientCredentials(OAuthFlow clientCredentials)
OAuth Client Credential flow; previously called application in OpenAPI 2.0
|
OAuthFlow |
getAuthorizationCode()
OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0
|
OAuthFlow |
getClientCredentials()
OAuth Client Credential flow; previously called application in OpenAPI 2.0
|
OAuthFlow |
getImplicit()
This method returns the implicit property from OAuthFlows instance.
|
OAuthFlow |
getPassword()
OAuth Resource Owner Password flow
|
OAuthFlows |
implicit(OAuthFlow implicit)
This method sets the implicit property of OAuthFlows instance to the given implicit argument and returns the modified instance.
|
OAuthFlows |
password(OAuthFlow password)
OAuth Resource Owner Password flow
|
void |
setAuthorizationCode(OAuthFlow authorizationCode)
OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0
|
void |
setClientCredentials(OAuthFlow clientCredentials)
OAuth Client Credential flow; previously called application in OpenAPI 2.0
|
void |
setImplicit(OAuthFlow implicit)
This method sets the implicit property of OAuthFlows instance to the given implicit argument.
|
void |
setPassword(OAuthFlow password)
OAuth Resource Owner Password flow
|
addExtension, getExtensions, setExtensions
OAuthFlow getImplicit()
void setImplicit(OAuthFlow implicit)
implicit
- the OauthFlow instanceOAuthFlows implicit(OAuthFlow implicit)
implicit
- the OauthFlow instanceOAuthFlow getPassword()
This method returns the password property from OAuthFlows instance.
void setPassword(OAuthFlow password)
This method sets the password property of OAuthFlows instance to the given password argument.
password
- the OAuthFlow instanceOAuthFlows password(OAuthFlow password)
This method sets the password property of an OAuthFlows instance to the given password argument and returns the modified instance.
password
- the OauthFlow instanceOAuthFlow getClientCredentials()
This method returns the clientCredentials property from OAuthFlows instance.
void setClientCredentials(OAuthFlow clientCredentials)
This method sets the clientCredentials property of OAuthFlows instance to the given clientCredentials argument.
clientCredentials
- the OauthFlow instanceOAuthFlows clientCredentials(OAuthFlow clientCredentials)
This method sets the clientCredentials property of OAuthFlows instance to the given clientCredentials argument and returns the modified instance.
clientCredentials
- the OauthFlow instanceOAuthFlow getAuthorizationCode()
This method returns the authorizationCode property from OAuthFlows instance.
void setAuthorizationCode(OAuthFlow authorizationCode)
This method sets the authorizationCode property of OAuthFlows instance to the given authorizationCode argument.
authorizationCode
- the OauthFlow instanceOAuthFlows authorizationCode(OAuthFlow authorizationCode)
This method sets the authorizationCode property of OAuthFlows instance to the given authorizationCode argument and returns the modified instance.
authorizationCode
- the OauthFlow instance