Class OAuthFlowImpl
- java.lang.Object
-
- io.smallrye.openapi.api.models.ExtensibleImpl<org.eclipse.microprofile.openapi.models.security.OAuthFlow>
-
- io.smallrye.openapi.api.models.security.OAuthFlowImpl
-
- All Implemented Interfaces:
ModelImpl
,org.eclipse.microprofile.openapi.models.Constructible
,org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.security.OAuthFlow>
,org.eclipse.microprofile.openapi.models.security.OAuthFlow
public class OAuthFlowImpl extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.security.OAuthFlow> implements org.eclipse.microprofile.openapi.models.security.OAuthFlow, ModelImpl
An implementation of theOAuthFlow
OpenAPI model interface.
-
-
Constructor Summary
Constructors Constructor Description OAuthFlowImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.openapi.models.security.OAuthFlow
addScope(String scope, String description)
String
getAuthorizationUrl()
String
getRefreshUrl()
Map<String,String>
getScopes()
String
getTokenUrl()
void
removeScope(String scope)
void
setAuthorizationUrl(String authorizationUrl)
void
setRefreshUrl(String refreshUrl)
void
setScopes(Map<String,String> scopes)
void
setTokenUrl(String tokenUrl)
-
Methods inherited from class io.smallrye.openapi.api.models.ExtensibleImpl
addExtension, getExtensions, removeExtension, setExtensions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getAuthorizationUrl
public String getAuthorizationUrl()
- Specified by:
getAuthorizationUrl
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
- See Also:
OAuthFlow.getAuthorizationUrl()
-
setAuthorizationUrl
public void setAuthorizationUrl(String authorizationUrl)
- Specified by:
setAuthorizationUrl
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
- See Also:
OAuthFlow.setAuthorizationUrl(java.lang.String)
-
getTokenUrl
public String getTokenUrl()
- Specified by:
getTokenUrl
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
- See Also:
OAuthFlow.getTokenUrl()
-
setTokenUrl
public void setTokenUrl(String tokenUrl)
- Specified by:
setTokenUrl
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
- See Also:
OAuthFlow.setTokenUrl(java.lang.String)
-
getRefreshUrl
public String getRefreshUrl()
- Specified by:
getRefreshUrl
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
- See Also:
OAuthFlow.getRefreshUrl()
-
setRefreshUrl
public void setRefreshUrl(String refreshUrl)
- Specified by:
setRefreshUrl
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
- See Also:
OAuthFlow.setRefreshUrl(java.lang.String)
-
getScopes
public Map<String,String> getScopes()
- Specified by:
getScopes
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
- See Also:
OAuthFlow.getScopes()
-
setScopes
public void setScopes(Map<String,String> scopes)
- Specified by:
setScopes
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
-
addScope
public org.eclipse.microprofile.openapi.models.security.OAuthFlow addScope(String scope, String description)
- Specified by:
addScope
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
-
removeScope
public void removeScope(String scope)
- Specified by:
removeScope
in interfaceorg.eclipse.microprofile.openapi.models.security.OAuthFlow
-
-