@Test public void testGetScope() { patcher.setScope(Optional.of("")); assertFalse(patcher.getScope().isPresent()); }
public Optional<List<String>> getScope() { if (this.scope == null) return null; if (!this.scope.isPresent() || this.scope.get().trim().isEmpty()) { return Optional.empty(); } return Optional.of(Arrays.asList(scope.get().split(SCOPE_DELIMITER))); }
DynamicClientRegistrationRequest { public Optional<List<String>> getScope() { if (this.scope == null) return null; if (!this.scope.isPresent() || this.scope.get().trim().isEmpty()) { return Optional.empty(); } return Optional.of(Arrays.asList(scope.get().split(SCOPE_DELIMITER))); } }
DynamicClientRegistrationRequest { public Optional<List<String>> getScope() { if (this.scope == null) return null; if (!this.scope.isPresent() || this.scope.get().trim().isEmpty()) { return Optional.empty(); } return Optional.of(Arrays.asList(scope.get().split(SCOPE_DELIMITER))); }  }
DynamicClientRegistrationRequest { public Optional<List<String>> getScope() { if (this.scope == null) return null; if (!this.scope.isPresent() || this.scope.get().trim().isEmpty()) { return Optional.empty(); } return Optional.of(Arrays.asList(scope.get().split(SCOPE_DELIMITER))); }  Optional<List<String>> getRedirectUris(); void setRedirectUris(Optional<List<String>> redirectUris); Optional<List<String>> getResponseTypes(); void setResponseTypes(Optional<List<String>> responseTypes); Optional<List<String>> getGrantTypes(); void setGrantTypes(Optional<List<String>> grantTypes); Optional<String> getApplicationType(); void setApplicationType(Optional<String> applicationType); Optional<List<String>> getContacts(); void setContacts(Optional<List<String>> contacts); Optional<String> getClientName(); void setClientName(Optional<String> clientName); Optional<String> getLogoUri(); void setLogoUri(Optional<String> logoUri); Optional<String> getClientUri(); void setClientUri(Optional<String> clientUri); Optional<String> getPolicyUri(); void setPolicyUri(Optional<String> policyUri); Optional<String> getTosUri(); void setTosUri(Optional<String> tosUri); Optional<String> getJwksUri(); void setJwksUri(Optional<String> jwksUri); Optional<JWKSet> getJwks(); void setJwks(Optional<JWKSet> jwks); Optional<String> getSectorIdentifierUri(); void setSectorIdentifierUri(Optional<String> sectorIdentifierUri); Optional<String> getSubjectType(); void setSubjectType(Optional<String> subjectType); Optional<String> getIdTokenSignedResponseAlg(); void setIdTokenSignedResponseAlg(Optional<String> idTokenSignedResponseAlg); Optional<String> getIdTokenEncryptedResponseAlg(); void setIdTokenEncryptedResponseAlg(Optional<String> idTokenEncryptedResponseAlg); Optional<String> getIdTokenEncryptedResponseEnc(); void setIdTokenEncryptedResponseEnc(Optional<String> idTokenEncryptedResponseEnc); Optional<String> getUserinfoSignedResponseAlg(); void setUserinfoSignedResponseAlg(Optional<String> userinfoSignedResponseAlg); Optional<String> getUserinfoEncryptedResponseAlg(); void setUserinfoEncryptedResponseAlg(Optional<String> userinfoEncryptedResponseAlg); Optional<String> getUserinfoEncryptedResponseEnc(); void setUserinfoEncryptedResponseEnc(Optional<String> userinfoEncryptedResponseEnc); Optional<String> getRequestObjectSigningAlg(); void setRequestObjectSigningAlg(Optional<String> requestObjectSigningAlg); Optional<String> getRequestObjectEncryptionAlg(); void setRequestObjectEncryptionAlg(Optional<String> requestObjectEncryptionAlg); Optional<String> getRequestObjectEncryptionEnc(); void setRequestObjectEncryptionEnc(Optional<String> requestObjectEncryptionEnc); Optional<String> getTokenEndpointAuthMethod(); void setTokenEndpointAuthMethod(Optional<String> tokenEndpointAuthMethod); Optional<String> getTokenEndpointAuthSigningAlg(); void setTokenEndpointAuthSigningAlg(Optional<String> tokenEndpointAuthSigningAlg); Optional<Integer> getDefaultMaxAge(); void setDefaultMaxAge(Optional<Integer> defaultMaxAge); Optional<Boolean> getRequireAuthTime(); void setRequireAuthTime(Optional<Boolean> requireAuthTime); Optional<List<String>> getDefaultACRvalues(); void setDefaultACRvalues(Optional<List<String>> defaultACRvalues); Optional<String> getInitiateLoginUri(); void setInitiateLoginUri(Optional<String> initiateLoginUri); Optional<List<String>> getRequestUris(); void setRequestUris(Optional<List<String>> requestUris); Optional<List<String>> getScope(); void setScope(Optional<String> scope); Optional<String> getSoftwareId(); void setSoftwareId(Optional<String> softwareId); Optional<String> getSoftwareVersion(); void setSoftwareVersion(Optional<String> softwareVersion); Optional<String> getSoftwareStatement(); void setSoftwareStatement(Optional<String> softwareStatement); Optional<String> getTlsClientAuthSubjectDn(); void setTlsClientAuthSubjectDn(Optional<String> tlsClientAuthSubjectDn); Optional<String> getTlsClientAuthSanDns(); void setTlsClientAuthSanDns(Optional<String> tlsClientAuthSanDns); Optional<String> getTlsClientAuthSanUri(); void setTlsClientAuthSanUri(Optional<String> tlsClientAuthSanUri); Optional<String> getTlsClientAuthSanIp(); void setTlsClientAuthSanIp(Optional<String> tlsClientAuthSanIp); Optional<String> getTlsClientAuthSanEmail(); void setTlsClientAuthSanEmail(Optional<String> tlsClientAuthSanEmail); Optional<String> getAuthorizationSignedResponseAlg(); void setAuthorizationSignedResponseAlg(Optional<String> authorizationSignedResponseAlg); Optional<String> getAuthorizationEncryptedResponseAlg(); void setAuthorizationEncryptedResponseAlg(Optional<String> authorizationEncryptedResponseAlg); Optional<String> getAuthorizationEncryptedResponseEnc(); void setAuthorizationEncryptedResponseEnc(Optional<String> authorizationEncryptedResponseEnc); @Override String toString(); Client patch(Client client); Client update(Client client); }
DynamicClientRegistrationRequest { public Optional<List<String>> getScope() { if (this.scope == null) return null; if (!this.scope.isPresent() || this.scope.get().trim().isEmpty()) { return Optional.empty(); } return Optional.of(Arrays.asList(scope.get().split(SCOPE_DELIMITER))); }  Optional<List<String>> getRedirectUris(); void setRedirectUris(Optional<List<String>> redirectUris); Optional<List<String>> getResponseTypes(); void setResponseTypes(Optional<List<String>> responseTypes); Optional<List<String>> getGrantTypes(); void setGrantTypes(Optional<List<String>> grantTypes); Optional<String> getApplicationType(); void setApplicationType(Optional<String> applicationType); Optional<List<String>> getContacts(); void setContacts(Optional<List<String>> contacts); Optional<String> getClientName(); void setClientName(Optional<String> clientName); Optional<String> getLogoUri(); void setLogoUri(Optional<String> logoUri); Optional<String> getClientUri(); void setClientUri(Optional<String> clientUri); Optional<String> getPolicyUri(); void setPolicyUri(Optional<String> policyUri); Optional<String> getTosUri(); void setTosUri(Optional<String> tosUri); Optional<String> getJwksUri(); void setJwksUri(Optional<String> jwksUri); Optional<JWKSet> getJwks(); void setJwks(Optional<JWKSet> jwks); Optional<String> getSectorIdentifierUri(); void setSectorIdentifierUri(Optional<String> sectorIdentifierUri); Optional<String> getSubjectType(); void setSubjectType(Optional<String> subjectType); Optional<String> getIdTokenSignedResponseAlg(); void setIdTokenSignedResponseAlg(Optional<String> idTokenSignedResponseAlg); Optional<String> getIdTokenEncryptedResponseAlg(); void setIdTokenEncryptedResponseAlg(Optional<String> idTokenEncryptedResponseAlg); Optional<String> getIdTokenEncryptedResponseEnc(); void setIdTokenEncryptedResponseEnc(Optional<String> idTokenEncryptedResponseEnc); Optional<String> getUserinfoSignedResponseAlg(); void setUserinfoSignedResponseAlg(Optional<String> userinfoSignedResponseAlg); Optional<String> getUserinfoEncryptedResponseAlg(); void setUserinfoEncryptedResponseAlg(Optional<String> userinfoEncryptedResponseAlg); Optional<String> getUserinfoEncryptedResponseEnc(); void setUserinfoEncryptedResponseEnc(Optional<String> userinfoEncryptedResponseEnc); Optional<String> getRequestObjectSigningAlg(); void setRequestObjectSigningAlg(Optional<String> requestObjectSigningAlg); Optional<String> getRequestObjectEncryptionAlg(); void setRequestObjectEncryptionAlg(Optional<String> requestObjectEncryptionAlg); Optional<String> getRequestObjectEncryptionEnc(); void setRequestObjectEncryptionEnc(Optional<String> requestObjectEncryptionEnc); Optional<String> getTokenEndpointAuthMethod(); void setTokenEndpointAuthMethod(Optional<String> tokenEndpointAuthMethod); Optional<String> getTokenEndpointAuthSigningAlg(); void setTokenEndpointAuthSigningAlg(Optional<String> tokenEndpointAuthSigningAlg); Optional<Integer> getDefaultMaxAge(); void setDefaultMaxAge(Optional<Integer> defaultMaxAge); Optional<Boolean> getRequireAuthTime(); void setRequireAuthTime(Optional<Boolean> requireAuthTime); Optional<List<String>> getDefaultACRvalues(); void setDefaultACRvalues(Optional<List<String>> defaultACRvalues); Optional<String> getInitiateLoginUri(); void setInitiateLoginUri(Optional<String> initiateLoginUri); Optional<List<String>> getRequestUris(); void setRequestUris(Optional<List<String>> requestUris); Optional<List<String>> getScope(); void setScope(Optional<String> scope); Optional<String> getSoftwareId(); void setSoftwareId(Optional<String> softwareId); Optional<String> getSoftwareVersion(); void setSoftwareVersion(Optional<String> softwareVersion); Optional<String> getSoftwareStatement(); void setSoftwareStatement(Optional<String> softwareStatement); Optional<String> getTlsClientAuthSubjectDn(); void setTlsClientAuthSubjectDn(Optional<String> tlsClientAuthSubjectDn); Optional<String> getTlsClientAuthSanDns(); void setTlsClientAuthSanDns(Optional<String> tlsClientAuthSanDns); Optional<String> getTlsClientAuthSanUri(); void setTlsClientAuthSanUri(Optional<String> tlsClientAuthSanUri); Optional<String> getTlsClientAuthSanIp(); void setTlsClientAuthSanIp(Optional<String> tlsClientAuthSanIp); Optional<String> getTlsClientAuthSanEmail(); void setTlsClientAuthSanEmail(Optional<String> tlsClientAuthSanEmail); Optional<String> getAuthorizationSignedResponseAlg(); void setAuthorizationSignedResponseAlg(Optional<String> authorizationSignedResponseAlg); Optional<String> getAuthorizationEncryptedResponseAlg(); void setAuthorizationEncryptedResponseAlg(Optional<String> authorizationEncryptedResponseAlg); Optional<String> getAuthorizationEncryptedResponseEnc(); void setAuthorizationEncryptedResponseEnc(Optional<String> authorizationEncryptedResponseEnc); @Override String toString(); Client patch(Client client); Client update(Client client);  }