Package com.networknt.oas.model.impl
Class OAuthFlowImpl
- java.lang.Object
-
- com.networknt.jsonoverlay.JsonOverlay<V>
-
- com.networknt.jsonoverlay.PropertiesOverlay<OAuthFlow>
-
- com.networknt.oas.model.impl.OAuthFlowImpl
-
-
Field Summary
Fields Modifier and Type Field Description static StringF_authorizationUrlstatic StringF_extensionsstatic StringF_refreshUrlstatic StringF_scopesstatic StringF_scopesExtensionsstatic StringF_tokenUrlstatic com.networknt.jsonoverlay.OverlayFactory<OAuthFlow>factory
-
Constructor Summary
Constructors Constructor Description OAuthFlowImpl(com.fasterxml.jackson.databind.JsonNode json, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)OAuthFlowImpl(OAuthFlow oAuthFlow, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void_elaborateJson()protected com.networknt.jsonoverlay.OverlayFactory<?>_getFactory()Class<?>_getModelType()static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>>
com.networknt.jsonoverlay.Builder<OAuthFlow>builder(OV modelMember)static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>>
OAuthFlowcreate(OV modelMember)StringgetAuthorizationUrl()ObjectgetExtension(String name)Map<String,Object>getExtensions()Map<String,Object>getExtensions(boolean elaborate)StringgetRefreshUrl()StringgetScope(String name)Map<String,String>getScopes()Map<String,String>getScopes(boolean elaborate)ObjectgetScopesExtension(String name)Map<String,Object>getScopesExtensions()Map<String,Object>getScopesExtensions(boolean elaborate)StringgetTokenUrl()booleanhasExtension(String name)booleanhasExtensions()booleanhasScope(String name)booleanhasScopes()booleanhasScopesExtension(String name)booleanhasScopesExtensions()voidremoveExtension(String name)voidremoveScope(String name)voidremoveScopesExtension(String name)voidsetAuthorizationUrl(String authorizationUrl)voidsetExtension(String name, Object extension)voidsetExtensions(Map<String,Object> extensions)voidsetRefreshUrl(String refreshUrl)voidsetScope(String name, String scope)voidsetScopes(Map<String,String> scopes)voidsetScopesExtension(String name, Object scopesExtension)voidsetScopesExtensions(Map<String,Object> scopesExtensions)voidsetTokenUrl(String tokenUrl)-
Methods inherited from class com.networknt.jsonoverlay.PropertiesOverlay
_add, _createList, _createMap, _createScalar, _elaborate, _findInternal, _fixJson, _fromJson, _get, _get, _get, _get, _get, _get, _getList, _getList, _getMap, _getMap, _getOverlay, _insert, _isElaborated, _isPresent, _remove, _remove, _set, _set, _setList, _setMap, _setScalar, _toJsonInternal, equals, equals, hashCode
-
Methods inherited from class com.networknt.jsonoverlay.JsonOverlay
_ensureElaborated, _getCreatingRef, _jsonArray, _jsonBoolean, _jsonMissing, _jsonNull, _jsonObject, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _setCreatingRef, _setParent, builder, create, toString
-
-
-
-
Field Detail
-
F_authorizationUrl
public static final String F_authorizationUrl
- See Also:
- Constant Field Values
-
F_tokenUrl
public static final String F_tokenUrl
- See Also:
- Constant Field Values
-
F_refreshUrl
public static final String F_refreshUrl
- See Also:
- Constant Field Values
-
F_scopes
public static final String F_scopes
- See Also:
- Constant Field Values
-
F_scopesExtensions
public static final String F_scopesExtensions
- See Also:
- Constant Field Values
-
F_extensions
public static final String F_extensions
- See Also:
- Constant Field Values
-
factory
public static com.networknt.jsonoverlay.OverlayFactory<OAuthFlow> factory
-
-
Constructor Detail
-
OAuthFlowImpl
public OAuthFlowImpl(com.fasterxml.jackson.databind.JsonNode json, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
OAuthFlowImpl
public OAuthFlowImpl(OAuthFlow oAuthFlow, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
-
Method Detail
-
getAuthorizationUrl
public String getAuthorizationUrl()
- Specified by:
getAuthorizationUrlin interfaceOAuthFlow
-
setAuthorizationUrl
public void setAuthorizationUrl(String authorizationUrl)
- Specified by:
setAuthorizationUrlin interfaceOAuthFlow
-
getTokenUrl
public String getTokenUrl()
- Specified by:
getTokenUrlin interfaceOAuthFlow
-
setTokenUrl
public void setTokenUrl(String tokenUrl)
- Specified by:
setTokenUrlin interfaceOAuthFlow
-
getRefreshUrl
public String getRefreshUrl()
- Specified by:
getRefreshUrlin interfaceOAuthFlow
-
setRefreshUrl
public void setRefreshUrl(String refreshUrl)
- Specified by:
setRefreshUrlin interfaceOAuthFlow
-
removeScope
public void removeScope(String name)
- Specified by:
removeScopein interfaceOAuthFlow
-
getScopesExtensions
public Map<String,Object> getScopesExtensions()
- Specified by:
getScopesExtensionsin interfaceOAuthFlow
-
getScopesExtensions
public Map<String,Object> getScopesExtensions(boolean elaborate)
- Specified by:
getScopesExtensionsin interfaceOAuthFlow
-
hasScopesExtensions
public boolean hasScopesExtensions()
- Specified by:
hasScopesExtensionsin interfaceOAuthFlow
-
hasScopesExtension
public boolean hasScopesExtension(String name)
- Specified by:
hasScopesExtensionin interfaceOAuthFlow
-
getScopesExtension
public Object getScopesExtension(String name)
- Specified by:
getScopesExtensionin interfaceOAuthFlow
-
setScopesExtensions
public void setScopesExtensions(Map<String,Object> scopesExtensions)
- Specified by:
setScopesExtensionsin interfaceOAuthFlow
-
setScopesExtension
public void setScopesExtension(String name, Object scopesExtension)
- Specified by:
setScopesExtensionin interfaceOAuthFlow
-
removeScopesExtension
public void removeScopesExtension(String name)
- Specified by:
removeScopesExtensionin interfaceOAuthFlow
-
getExtensions
public Map<String,Object> getExtensions()
- Specified by:
getExtensionsin interfaceOAuthFlow
-
getExtensions
public Map<String,Object> getExtensions(boolean elaborate)
- Specified by:
getExtensionsin interfaceOAuthFlow
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceOAuthFlow
-
hasExtension
public boolean hasExtension(String name)
- Specified by:
hasExtensionin interfaceOAuthFlow
-
getExtension
public Object getExtension(String name)
- Specified by:
getExtensionin interfaceOAuthFlow
-
setExtensions
public void setExtensions(Map<String,Object> extensions)
- Specified by:
setExtensionsin interfaceOAuthFlow
-
setExtension
public void setExtension(String name, Object extension)
- Specified by:
setExtensionin interfaceOAuthFlow
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceOAuthFlow
-
_elaborateJson
protected void _elaborateJson()
- Overrides:
_elaborateJsonin classcom.networknt.jsonoverlay.PropertiesOverlay<OAuthFlow>
-
_getModelType
public Class<?> _getModelType()
- Overrides:
_getModelTypein classcom.networknt.jsonoverlay.JsonOverlay<OAuthFlow>
-
_getFactory
protected com.networknt.jsonoverlay.OverlayFactory<?> _getFactory()
- Specified by:
_getFactoryin classcom.networknt.jsonoverlay.JsonOverlay<OAuthFlow>
-
builder
public static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>> com.networknt.jsonoverlay.Builder<OAuthFlow> builder(OV modelMember)
-
create
public static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>> OAuthFlow create(OV modelMember)
-
-