Class OAuthFlow
- java.lang.Object
-
- io.swagger.v3.oas.models.security.OAuthFlow
-
public class OAuthFlow extends Object
OAuthFlow- See Also:
- "https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#oauth-flows-object", "https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#oauth-flows-object"
-
-
Constructor Summary
Constructors Constructor Description OAuthFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtension(String name, Object value)voidaddExtension31(String name, Object value)OAuthFlowauthorizationUrl(String authorizationUrl)booleanequals(Object o)OAuthFlowextensions(Map<String,Object> extensions)StringgetAuthorizationUrl()returns the authorizationUrl property from a OAuthFlow instance.Map<String,Object>getExtensions()StringgetRefreshUrl()returns the refreshUrl property from a OAuthFlow instance.ScopesgetScopes()returns the scopes property from a OAuthFlow instance.StringgetTokenUrl()returns the tokenUrl property from a OAuthFlow instance.inthashCode()OAuthFlowrefreshUrl(String refreshUrl)OAuthFlowscopes(Scopes scopes)voidsetAuthorizationUrl(String authorizationUrl)voidsetExtensions(Map<String,Object> extensions)voidsetRefreshUrl(String refreshUrl)voidsetScopes(Scopes scopes)voidsetTokenUrl(String tokenUrl)OAuthFlowtokenUrl(String tokenUrl)StringtoString()
-
-
-
Method Detail
-
getAuthorizationUrl
public String getAuthorizationUrl()
returns the authorizationUrl property from a OAuthFlow instance.- Returns:
- String authorizationUrl
-
setAuthorizationUrl
public void setAuthorizationUrl(String authorizationUrl)
-
getTokenUrl
public String getTokenUrl()
returns the tokenUrl property from a OAuthFlow instance.- Returns:
- String tokenUrl
-
setTokenUrl
public void setTokenUrl(String tokenUrl)
-
getRefreshUrl
public String getRefreshUrl()
returns the refreshUrl property from a OAuthFlow instance.- Returns:
- String refreshUrl
-
setRefreshUrl
public void setRefreshUrl(String refreshUrl)
-
getScopes
public Scopes getScopes()
returns the scopes property from a OAuthFlow instance.- Returns:
- Scopes scopes
-
setScopes
public void setScopes(Scopes scopes)
-
-