Package ca.cdr.api.model.json
Class OAuth2ClientDetailsJson
java.lang.Object
ca.cdr.api.model.json.OAuth2WritableClientDetailsJson
ca.cdr.api.model.json.OAuth2ClientDetailsJson
- All Implemented Interfaces:
IHasAuthorities,IHasUserData,IModelJson,IOAuth2ClientDetails,IModelJson,Serializable,ClientDetails
public class OAuth2ClientDetailsJson
extends OAuth2WritableClientDetailsJson
implements ClientDetails, IModelJson, IOAuth2ClientDetails, IHasUserData
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final Patternstatic final Stringstatic final Stringstatic final StringFields inherited from class ca.cdr.api.model.json.OAuth2WritableClientDetailsJson
CLIENT_ID, CLIENT_NAME, CLIENT_SECRET_JOINED_DELIMITER, CLIENTID_PATTERN, ENABLED, PIDFields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME -
Constructor Summary
ConstructorsConstructorDescriptionConstructorOAuth2ClientDetailsJson(OAuth2ClientDetailsJson theClientDetailsJson) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptiongetClientPopulatedUserData(boolean theCreateIfNull) Model objects wishing to implement user data can implement this interface, and only need to actually implement this methodThe module ID that this client is registered against.The node ID that this client is registered against.voidsetModuleId(String theModuleId) voidMethods inherited from class ca.cdr.api.model.json.OAuth2WritableClientDetailsJson
addAllowedGrantType, addAllowedGrantType, addAutoApproveScopeIfNotBlank, addAutoGrantScopeIfNotBlank, addClientSecret, addClientSecret, addClientSecret, addClientSecret, addPermission, addPermission, addPermission, addRedirectUrlIfNotBlank, addScopeIfNotBlank, getAccessTokenValiditySeconds, getAdditionalInformation, getAllowedGrantTypes, getArchivedAt, getAuthorities, getAuthorizedGrantTypes, getAutoApproveScopes, getAutoApproveScopesSpaceSeparated, getAutoGrantScopes, getAutoGrantScopesSpaceSeparated, getClientId, getClientName, getClientSecret, getClientSecret, getClientSecrets, getJwksUrl, getPermissions, getPid, getPublicJwks, getRefreshTokenValiditySeconds, getRegisteredRedirectUri, getRegisteredRedirectUriOnePerLine, getRegisteredRedirectUris, getResourceIds, getScope, getScopes, getScopeSpaceSeparated, hasAutoApproveScopes, hasAutoGrantScopes, hasScope, isAlwaysRequireApproval, isAttestationAccepted, isAutoApprove, isCanIntrospectAnyTokens, isCanIntrospectOwnTokens, isCanReissueTokens, isCreatedByAppSphere, isEnabled, isFixedScope, isRememberApprovedScopes, isScoped, isSecretClientCanChange, isSecretRequired, removePermission, removePermission, setAccessTokenValiditySeconds, setAllowedGrantTypes, setAlwaysRequireApproval, setArchivedAt, setAttestationAccepted, setAutoApproveScopes, setAutoGrantScopes, setCanIntrospectAnyTokens, setCanIntrospectOwnTokens, setCanReissueTokens, setClientId, setClientName, setClientSecrets, setCreatedByAppSphere, setEnabled, setFixedScope, setJwksUrl, setPermissions, setPublicJwks, setRefreshTokenValiditySeconds, setRegisteredRedirectUris, setRegisteredRedirectUris, setRememberApprovedScopes, setScope, setScopes, setSecretClientCanChange, setSecretRequiredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.oauth2.provider.ClientDetails
getAccessTokenValiditySeconds, getAdditionalInformation, getAuthorities, getAuthorizedGrantTypes, getClientId, getClientSecret, getRefreshTokenValiditySeconds, getRegisteredRedirectUri, getResourceIds, getScope, isAutoApprove, isScoped, isSecretRequiredMethods inherited from interface ca.cdr.api.model.json.IHasAuthorities
addAuthority, addAuthority, addAuthority, hasArgumentsForAuthority, hasAuthorityMethods inherited from interface ca.cdr.api.model.json.IHasUserData
addUserData, clearUserData, getUserData, getUserInt, getUserString, hasUserData, setUserData, setUserDataINN, setUserDataInternalMethods inherited from interface ca.cdr.api.model.json.IOAuth2ClientDetails
getAutoApproveScopes, getAutoGrantScopes, getClientId, getClientName, getPid, getPublicJwks, getRegisteredRedirectUri, getScope, isCreatedByAppSphere, isEnabled, isSecretRequired
-
Field Details
-
MODULEID_PATTERN_CHARS
- See Also:
-
CLIENT_ID_MAX_LENGTH
- See Also:
-
CLIENT_ID_PATTERN
- See Also:
-
CLIENT_ID_PATTERN_P
-
MODULE_ID
- See Also:
-
NODE_ID
- See Also:
-
-
Constructor Details
-
OAuth2ClientDetailsJson
public OAuth2ClientDetailsJson()Constructor -
OAuth2ClientDetailsJson
Copy constructor
-
-
Method Details
-
getModuleId
Description copied from interface:IOAuth2ClientDetailsThe module ID that this client is registered against.- Specified by:
getModuleIdin interfaceIOAuth2ClientDetails
-
setModuleId
-
getNodeId
Description copied from interface:IOAuth2ClientDetailsThe node ID that this client is registered against.- Specified by:
getNodeIdin interfaceIOAuth2ClientDetails
-
setNodeId
-
setPid
- Overrides:
setPidin classOAuth2WritableClientDetailsJson
-
getClientPopulatedUserData
Description copied from interface:IHasUserDataModel objects wishing to implement user data can implement this interface, and only need to actually implement this method- Specified by:
getClientPopulatedUserDatain interfaceIHasUserData
-
toJsonString
-