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 int
static final String
static final Pattern
static final String
static final String
static final String
Fields inherited from class ca.cdr.api.model.json.OAuth2WritableClientDetailsJson
CLIENT_ID, CLIENT_NAME, CLIENT_SECRET_JOINED_DELIMITER, CLIENTID_PATTERN, ENABLED, PID
Fields 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.void
setModuleId
(String theModuleId) void
Methods 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, setSecretRequired
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.oauth2.provider.ClientDetails
getAccessTokenValiditySeconds, getAdditionalInformation, getAuthorities, getAuthorizedGrantTypes, getClientId, getClientSecret, getRefreshTokenValiditySeconds, getRegisteredRedirectUri, getResourceIds, getScope, isAutoApprove, isScoped, isSecretRequired
Methods inherited from interface ca.cdr.api.model.json.IHasAuthorities
addAuthority, addAuthority, addAuthority, hasArgumentsForAuthority, hasAuthority
Methods inherited from interface ca.cdr.api.model.json.IHasUserData
addUserData, clearUserData, getUserData, getUserInt, getUserString, hasUserData, setUserData, setUserDataINN, setUserDataInternal
Methods 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:IOAuth2ClientDetails
The module ID that this client is registered against.- Specified by:
getModuleId
in interfaceIOAuth2ClientDetails
-
setModuleId
-
getNodeId
Description copied from interface:IOAuth2ClientDetails
The node ID that this client is registered against.- Specified by:
getNodeId
in interfaceIOAuth2ClientDetails
-
setNodeId
-
setPid
- Overrides:
setPid
in classOAuth2WritableClientDetailsJson
-
getClientPopulatedUserData
Description copied from interface:IHasUserData
Model objects wishing to implement user data can implement this interface, and only need to actually implement this method- Specified by:
getClientPopulatedUserData
in interfaceIHasUserData
-