@Test public void testRegisteredClient() { RegisteredClient c = new RegisteredClient(); c.setClientId("s6BhdRkqt3"); c.setClientSecret("ZJYCqe3GGRvdrudKyZS0XhGv_Z45DuKhCUk0gBR1vZk"); c.setClientSecretExpiresAt(new Date(1577858400L * 1000L)); c.setRegistrationAccessToken("this.is.an.access.token.value.ffx83"); c.setRegistrationClientUri("https: c.setApplicationType(ClientDetailsEntity.AppType.WEB); c.setRedirectUris(ImmutableSet.of("https: c.setClientName("My Example"); c.setLogoUri("https: c.setSubjectType(ClientDetailsEntity.SubjectType.PAIRWISE); c.setSectorIdentifierUri("https: c.setTokenEndpointAuthMethod(ClientDetailsEntity.AuthMethod.SECRET_BASIC); c.setJwksUri("https: c.setUserInfoEncryptedResponseAlg(JWEAlgorithm.RSA1_5); c.setUserInfoEncryptedResponseEnc(EncryptionMethod.A128CBC_HS256); c.setContacts(ImmutableSet.of("ve7jtb@example.org", "mary@example.org")); c.setRequestUris(ImmutableSet.of("https: assertEquals("s6BhdRkqt3", c.getClientId()); assertEquals("ZJYCqe3GGRvdrudKyZS0XhGv_Z45DuKhCUk0gBR1vZk", c.getClientSecret()); assertEquals(new Date(1577858400L * 1000L), c.getClientSecretExpiresAt()); assertEquals("this.is.an.access.token.value.ffx83", c.getRegistrationAccessToken()); assertEquals("https: assertEquals(ClientDetailsEntity.AppType.WEB, c.getApplicationType()); assertEquals(ImmutableSet.of("https: assertEquals("My Example", c.getClientName()); assertEquals("https: assertEquals(ClientDetailsEntity.SubjectType.PAIRWISE, c.getSubjectType()); assertEquals("https: assertEquals(ClientDetailsEntity.AuthMethod.SECRET_BASIC, c.getTokenEndpointAuthMethod()); assertEquals("https: assertEquals(JWEAlgorithm.RSA1_5, c.getUserInfoEncryptedResponseAlg()); assertEquals(EncryptionMethod.A128CBC_HS256, c.getUserInfoEncryptedResponseEnc()); assertEquals(ImmutableSet.of("ve7jtb@example.org", "mary@example.org"), c.getContacts()); assertEquals(ImmutableSet.of("https: }
public RegisteredClient() { this.client = new ClientDetailsEntity(); }
RegisteredClient { public RegisteredClient() { this.client = new ClientDetailsEntity(); } }
RegisteredClient { public RegisteredClient() { this.client = new ClientDetailsEntity(); } RegisteredClient();  RegisteredClient(ClientDetailsEntity client);  RegisteredClient(ClientDetailsEntity client, String registrationAccessToken, String registrationClientUri); }
RegisteredClient { public RegisteredClient() { this.client = new ClientDetailsEntity(); } RegisteredClient();  RegisteredClient(ClientDetailsEntity client);  RegisteredClient(ClientDetailsEntity client, String registrationAccessToken, String registrationClientUri); ClientDetailsEntity getClient(); void setClient(ClientDetailsEntity client); String getClientDescription(); void setClientDescription(String clientDescription); boolean isAllowRefresh(); boolean isReuseRefreshToken(); void setReuseRefreshToken(boolean reuseRefreshToken); Integer getIdTokenValiditySeconds(); void setIdTokenValiditySeconds(Integer idTokenValiditySeconds); boolean isDynamicallyRegistered(); void setDynamicallyRegistered(boolean dynamicallyRegistered); boolean isAllowIntrospection(); void setAllowIntrospection(boolean allowIntrospection); boolean isSecretRequired(); boolean isScoped(); String getClientId(); void setClientId(String clientId); String getClientSecret(); void setClientSecret(String clientSecret); Set<String> getScope(); void setScope(Set<String> scope); Set<String> getGrantTypes(); void setGrantTypes(Set<String> grantTypes); Set<String> getAuthorizedGrantTypes(); Set<GrantedAuthority> getAuthorities(); void setAuthorities(Set<GrantedAuthority> authorities); Integer getAccessTokenValiditySeconds(); void setAccessTokenValiditySeconds(Integer accessTokenValiditySeconds); Integer getRefreshTokenValiditySeconds(); void setRefreshTokenValiditySeconds(Integer refreshTokenValiditySeconds); Set<String> getRedirectUris(); void setRedirectUris(Set<String> redirectUris); Set<String> getRegisteredRedirectUri(); Set<String> getResourceIds(); void setResourceIds(Set<String> resourceIds); Map<String, Object> getAdditionalInformation(); AppType getApplicationType(); void setApplicationType(AppType applicationType); String getClientName(); void setClientName(String clientName); AuthMethod getTokenEndpointAuthMethod(); void setTokenEndpointAuthMethod(AuthMethod tokenEndpointAuthMethod); SubjectType getSubjectType(); void setSubjectType(SubjectType subjectType); Set<String> getContacts(); void setContacts(Set<String> contacts); String getLogoUri(); void setLogoUri(String logoUri); String getPolicyUri(); void setPolicyUri(String policyUri); String getClientUri(); void setClientUri(String clientUri); String getTosUri(); void setTosUri(String tosUri); String getJwksUri(); void setJwksUri(String jwksUri); String getSectorIdentifierUri(); void setSectorIdentifierUri(String sectorIdentifierUri); Integer getDefaultMaxAge(); void setDefaultMaxAge(Integer defaultMaxAge); Boolean getRequireAuthTime(); void setRequireAuthTime(Boolean requireAuthTime); Set<String> getResponseTypes(); void setResponseTypes(Set<String> responseTypes); Set<String> getDefaultACRvalues(); void setDefaultACRvalues(Set<String> defaultACRvalues); String getInitiateLoginUri(); void setInitiateLoginUri(String initiateLoginUri); String getPostLogoutRedirectUri(); void setPostLogoutRedirectUri(String postLogoutRedirectUri); Set<String> getRequestUris(); void setRequestUris(Set<String> requestUris); JWSAlgorithmEmbed getRequestObjectSigningAlgEmbed(); void setRequestObjectSigningAlgEmbed(JWSAlgorithmEmbed requestObjectSigningAlg); JWSAlgorithmEmbed getUserInfoSignedResponseAlgEmbed(); void setUserInfoSignedResponseAlgEmbed(JWSAlgorithmEmbed userInfoSignedResponseAlg); JWEAlgorithmEmbed getUserInfoEncryptedResponseAlgEmbed(); void setUserInfoEncryptedResponseAlgEmbed(JWEAlgorithmEmbed userInfoEncryptedResponseAlg); JWEEncryptionMethodEmbed getUserInfoEncryptedResponseEncEmbed(); void setUserInfoEncryptedResponseEncEmbed(JWEEncryptionMethodEmbed userInfoEncryptedResponseEnc); JWSAlgorithmEmbed getIdTokenSignedResponseAlgEmbed(); void setIdTokenSignedResponseAlgEmbed(JWSAlgorithmEmbed idTokenSignedResponseAlg); JWEAlgorithmEmbed getIdTokenEncryptedResponseAlgEmbed(); void setIdTokenEncryptedResponseAlgEmbed(JWEAlgorithmEmbed idTokenEncryptedResponseAlg); JWEEncryptionMethodEmbed getIdTokenEncryptedResponseEncEmbed(); void setIdTokenEncryptedResponseEncEmbed(JWEEncryptionMethodEmbed idTokenEncryptedResponseEnc); JWSAlgorithm getRequestObjectSigningAlg(); void setRequestObjectSigningAlg(JWSAlgorithm requestObjectSigningAlg); JWSAlgorithm getUserInfoSignedResponseAlg(); void setUserInfoSignedResponseAlg(JWSAlgorithm userInfoSignedResponseAlg); JWEAlgorithm getUserInfoEncryptedResponseAlg(); void setUserInfoEncryptedResponseAlg(JWEAlgorithm userInfoEncryptedResponseAlg); EncryptionMethod getUserInfoEncryptedResponseEnc(); void setUserInfoEncryptedResponseEnc(EncryptionMethod userInfoEncryptedResponseEnc); JWSAlgorithm getIdTokenSignedResponseAlg(); void setIdTokenSignedResponseAlg(JWSAlgorithm idTokenSignedResponseAlg); JWEAlgorithm getIdTokenEncryptedResponseAlg(); void setIdTokenEncryptedResponseAlg(JWEAlgorithm idTokenEncryptedResponseAlg); EncryptionMethod getIdTokenEncryptedResponseEnc(); void setIdTokenEncryptedResponseEnc(EncryptionMethod idTokenEncryptedResponseEnc); JWSAlgorithmEmbed getTokenEndpointAuthSigningAlgEmbed(); void setTokenEndpointAuthSigningAlgEmbed(JWSAlgorithmEmbed tokenEndpointAuthSigningAlgEmbed); JWSAlgorithm getTokenEndpointAuthSigningAlg(); void setTokenEndpointAuthSigningAlg(JWSAlgorithm tokenEndpointAuthSigningAlg); Date getCreatedAt(); void setCreatedAt(Date createdAt); String getRegistrationAccessToken(); void setRegistrationAccessToken(String registrationAccessToken); String getRegistrationClientUri(); void setRegistrationClientUri(String registrationClientUri); Date getClientSecretExpiresAt(); void setClientSecretExpiresAt(Date expiresAt); Date getClientIdIssuedAt(); void setClientIdIssuedAt(Date issuedAt); }
RegisteredClient { public RegisteredClient() { this.client = new ClientDetailsEntity(); } RegisteredClient();  RegisteredClient(ClientDetailsEntity client);  RegisteredClient(ClientDetailsEntity client, String registrationAccessToken, String registrationClientUri); ClientDetailsEntity getClient(); void setClient(ClientDetailsEntity client); String getClientDescription(); void setClientDescription(String clientDescription); boolean isAllowRefresh(); boolean isReuseRefreshToken(); void setReuseRefreshToken(boolean reuseRefreshToken); Integer getIdTokenValiditySeconds(); void setIdTokenValiditySeconds(Integer idTokenValiditySeconds); boolean isDynamicallyRegistered(); void setDynamicallyRegistered(boolean dynamicallyRegistered); boolean isAllowIntrospection(); void setAllowIntrospection(boolean allowIntrospection); boolean isSecretRequired(); boolean isScoped(); String getClientId(); void setClientId(String clientId); String getClientSecret(); void setClientSecret(String clientSecret); Set<String> getScope(); void setScope(Set<String> scope); Set<String> getGrantTypes(); void setGrantTypes(Set<String> grantTypes); Set<String> getAuthorizedGrantTypes(); Set<GrantedAuthority> getAuthorities(); void setAuthorities(Set<GrantedAuthority> authorities); Integer getAccessTokenValiditySeconds(); void setAccessTokenValiditySeconds(Integer accessTokenValiditySeconds); Integer getRefreshTokenValiditySeconds(); void setRefreshTokenValiditySeconds(Integer refreshTokenValiditySeconds); Set<String> getRedirectUris(); void setRedirectUris(Set<String> redirectUris); Set<String> getRegisteredRedirectUri(); Set<String> getResourceIds(); void setResourceIds(Set<String> resourceIds); Map<String, Object> getAdditionalInformation(); AppType getApplicationType(); void setApplicationType(AppType applicationType); String getClientName(); void setClientName(String clientName); AuthMethod getTokenEndpointAuthMethod(); void setTokenEndpointAuthMethod(AuthMethod tokenEndpointAuthMethod); SubjectType getSubjectType(); void setSubjectType(SubjectType subjectType); Set<String> getContacts(); void setContacts(Set<String> contacts); String getLogoUri(); void setLogoUri(String logoUri); String getPolicyUri(); void setPolicyUri(String policyUri); String getClientUri(); void setClientUri(String clientUri); String getTosUri(); void setTosUri(String tosUri); String getJwksUri(); void setJwksUri(String jwksUri); String getSectorIdentifierUri(); void setSectorIdentifierUri(String sectorIdentifierUri); Integer getDefaultMaxAge(); void setDefaultMaxAge(Integer defaultMaxAge); Boolean getRequireAuthTime(); void setRequireAuthTime(Boolean requireAuthTime); Set<String> getResponseTypes(); void setResponseTypes(Set<String> responseTypes); Set<String> getDefaultACRvalues(); void setDefaultACRvalues(Set<String> defaultACRvalues); String getInitiateLoginUri(); void setInitiateLoginUri(String initiateLoginUri); String getPostLogoutRedirectUri(); void setPostLogoutRedirectUri(String postLogoutRedirectUri); Set<String> getRequestUris(); void setRequestUris(Set<String> requestUris); JWSAlgorithmEmbed getRequestObjectSigningAlgEmbed(); void setRequestObjectSigningAlgEmbed(JWSAlgorithmEmbed requestObjectSigningAlg); JWSAlgorithmEmbed getUserInfoSignedResponseAlgEmbed(); void setUserInfoSignedResponseAlgEmbed(JWSAlgorithmEmbed userInfoSignedResponseAlg); JWEAlgorithmEmbed getUserInfoEncryptedResponseAlgEmbed(); void setUserInfoEncryptedResponseAlgEmbed(JWEAlgorithmEmbed userInfoEncryptedResponseAlg); JWEEncryptionMethodEmbed getUserInfoEncryptedResponseEncEmbed(); void setUserInfoEncryptedResponseEncEmbed(JWEEncryptionMethodEmbed userInfoEncryptedResponseEnc); JWSAlgorithmEmbed getIdTokenSignedResponseAlgEmbed(); void setIdTokenSignedResponseAlgEmbed(JWSAlgorithmEmbed idTokenSignedResponseAlg); JWEAlgorithmEmbed getIdTokenEncryptedResponseAlgEmbed(); void setIdTokenEncryptedResponseAlgEmbed(JWEAlgorithmEmbed idTokenEncryptedResponseAlg); JWEEncryptionMethodEmbed getIdTokenEncryptedResponseEncEmbed(); void setIdTokenEncryptedResponseEncEmbed(JWEEncryptionMethodEmbed idTokenEncryptedResponseEnc); JWSAlgorithm getRequestObjectSigningAlg(); void setRequestObjectSigningAlg(JWSAlgorithm requestObjectSigningAlg); JWSAlgorithm getUserInfoSignedResponseAlg(); void setUserInfoSignedResponseAlg(JWSAlgorithm userInfoSignedResponseAlg); JWEAlgorithm getUserInfoEncryptedResponseAlg(); void setUserInfoEncryptedResponseAlg(JWEAlgorithm userInfoEncryptedResponseAlg); EncryptionMethod getUserInfoEncryptedResponseEnc(); void setUserInfoEncryptedResponseEnc(EncryptionMethod userInfoEncryptedResponseEnc); JWSAlgorithm getIdTokenSignedResponseAlg(); void setIdTokenSignedResponseAlg(JWSAlgorithm idTokenSignedResponseAlg); JWEAlgorithm getIdTokenEncryptedResponseAlg(); void setIdTokenEncryptedResponseAlg(JWEAlgorithm idTokenEncryptedResponseAlg); EncryptionMethod getIdTokenEncryptedResponseEnc(); void setIdTokenEncryptedResponseEnc(EncryptionMethod idTokenEncryptedResponseEnc); JWSAlgorithmEmbed getTokenEndpointAuthSigningAlgEmbed(); void setTokenEndpointAuthSigningAlgEmbed(JWSAlgorithmEmbed tokenEndpointAuthSigningAlgEmbed); JWSAlgorithm getTokenEndpointAuthSigningAlg(); void setTokenEndpointAuthSigningAlg(JWSAlgorithm tokenEndpointAuthSigningAlg); Date getCreatedAt(); void setCreatedAt(Date createdAt); String getRegistrationAccessToken(); void setRegistrationAccessToken(String registrationAccessToken); String getRegistrationClientUri(); void setRegistrationClientUri(String registrationClientUri); Date getClientSecretExpiresAt(); void setClientSecretExpiresAt(Date expiresAt); Date getClientIdIssuedAt(); void setClientIdIssuedAt(Date issuedAt);  }