public class Client extends Object implements Serializable
Some properties correspond to the ones listed in Client Metadata in OpenID Connect Dynamic Client Registration 1.0.
| Constructor and Description |
|---|
Client() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationType |
getApplicationType()
Get the application type.
|
long |
getClientId()
Get the client ID.
|
String |
getClientIdAlias()
Get the alias of the client ID.
|
String |
getClientName()
Get the client name.
|
TaggedValue[] |
getClientNames()
Get the client names each of which has a language tag.
|
String |
getClientSecret()
Get the client secret.
|
ClientType |
getClientType()
Get the client type.
|
URI |
getClientUri()
Get the URI of the home page.
|
TaggedValue[] |
getClientUris()
Get the URIs of the home pages for specific languages.
|
String[] |
getContacts()
Get the email addresses of contacts.
|
long |
getCreatedAt()
Get the time at which this client was created.
|
String[] |
getDefaultAcrs()
Get the default list of authentication context class references.
|
int |
getDefaultMaxAge()
Get the default value of the maximum authentication age in seconds.
|
String |
getDescription()
Get the description.
|
TaggedValue[] |
getDescriptions()
Get the descriptions for specific languages.
|
String |
getDeveloper()
Get the developer unique ID assigned by the service.
|
ClientExtension |
getExtension()
Get the extended information about this client.
|
GrantType[] |
getGrantTypes()
Get
grant_type values that the client is declaring
that it will restrict itself to using. |
JWEAlg |
getIdTokenEncryptionAlg()
Get the JWE
alg algorithm for encrypting the ID token
issued to this client. |
JWEEnc |
getIdTokenEncryptionEnc()
Get the JWE
enc algorithm for encrypting the ID token
issued to this client. |
JWSAlg |
getIdTokenSignAlg()
Get the JWS
alg algorithm for signing the ID token
issued to this client. |
String |
getJwks()
Get the JSON Web Key Set.
|
URI |
getJwksUri()
Get the URI of the JSON Web Key Set of the client application.
|
URI |
getLoginUri()
Get the URL that can initiate a login for this client application.
|
URI |
getLogoUri()
Get the URI of the logo image.
|
TaggedValue[] |
getLogoUris()
Get the logo URIs each of which has a language tag.
|
long |
getModifiedAt()
Get the time at which this client was last modified.
|
int |
getNumber()
Get the client number.
|
URI |
getPolicyUri()
Get the URI of the policy page which describes how
the client application uses the profile data of the
end-user.
|
TaggedValue[] |
getPolicyUris()
Get the URIs of the policy pages for specific languages.
|
String[] |
getRedirectUris()
Get the redirect URIs.
|
JWEAlg |
getRequestEncryptionAlg()
Get the JWE
alg algorithm for encrypting request objects. |
JWEEnc |
getRequestEncryptionEnc()
Get the JWE
enc algorithm for encrypting request objects. |
JWSAlg |
getRequestSignAlg()
Get the JWS
alg algorithm for signing request objects. |
String[] |
getRequestUris()
Get the request URIs that this client declares it may use.
|
ResponseType[] |
getResponseTypes()
Get
response_type values that the client is declaring
that it will restrict itself to using. |
URI |
getSectorIdentifier()
Get the sector identifier.
|
int |
getServiceNumber()
Get the number of the service which this client belongs to.
|
SubjectType |
getSubjectType()
Get the subject type that this client application requests.
|
String |
getTlsClientAuthRootDn()
Get the string representation of the expected distinguished
name of the root issuer of the client certificate.
|
String |
getTlsClientAuthSubjectDn()
Get the string representation of the expected subject
distinguished name of the certificate this client will
use in mutual TLS authentication.
|
ClientAuthMethod |
getTokenAuthMethod()
Get the client authentication method for the token endpoint.
|
JWSAlg |
getTokenAuthSignAlg()
Get the JWS
alg algorithm for signing the JWT used to
authenticate the client at the token endpoint. |
URI |
getTosUri()
Get the URI of the "Terms Of Service" page.
|
TaggedValue[] |
getTosUris()
Get the URIs of the "Terms Of Service" pages for specific languages.
|
JWEAlg |
getUserInfoEncryptionAlg()
Get the JWE
alg algorithm for encrypting UserInfo responses. |
JWEEnc |
getUserInfoEncryptionEnc()
Get the JWE
enc algorithm for encrypting UserInfo responses. |
JWSAlg |
getUserInfoSignAlg()
Get the JWS
alg algorithm for signing UserInfo responses. |
boolean |
isAuthTimeRequired()
Get the flag to indicate whether this client requires
auth_time
claim to be embedded in the ID token. |
boolean |
isClientIdAliasEnabled()
Get the flag which indicates whether the client ID alias
is enabled or not.
|
Client |
setApplicationType(ApplicationType applicationType)
Set the application type.
|
Client |
setAuthTimeRequired(boolean required)
Set the flag to indicate whether this client requires
auth_time
claim to be embedded in the ID token. |
Client |
setClientId(long clientId)
Set the client ID.
|
Client |
setClientIdAlias(String alias)
Set the alias of the client ID.
|
Client |
setClientIdAliasEnabled(boolean enabled)
Enable/disable the client ID alias.
|
Client |
setClientName(String clientName)
Set the client name.
|
Client |
setClientNames(TaggedValue[] clientNames)
Set the client names each of which has a language tag.
|
Client |
setClientSecret(String clientSecret)
Set the client secret.
|
Client |
setClientType(ClientType clientType)
Set the client type.
|
Client |
setClientUri(URI uri)
Set the URI of the home page.
|
Client |
setClientUris(TaggedValue[] uris)
Set the URIs of the home pages for specific languages.
|
Client |
setContacts(String[] contacts)
Set the email addresses of contacts.
|
Client |
setCreatedAt(long createdAt)
Set the time at which this client was created.
|
Client |
setDefaultAcrs(String[] defaultAcrs)
Set the default list of authentication context class references.
|
Client |
setDefaultMaxAge(int defaultMaxAge)
Set the default value of the maximum authentication age in seconds.
|
Client |
setDescription(String description)
Set the description.
|
Client |
setDescriptions(TaggedValue[] descriptions)
Set the descriptions for specific languages.
|
Client |
setDeveloper(String developer)
Set the developer unique ID assigned by the service.
|
Client |
setExtension(ClientExtension extension)
Set the extended information about this client.
|
Client |
setGrantTypes(GrantType[] grantTypes)
Set
grant_type values that the client is declaring
that it will restrict itself to using. |
Client |
setIdTokenEncryptionAlg(JWEAlg alg)
Set the JWE
alg algorithm for encrypting the ID token
issued to this client. |
Client |
setIdTokenEncryptionEnc(JWEEnc enc)
Set the JWE
enc algorithm for encrypting the ID token
issued to this client. |
Client |
setIdTokenSignAlg(JWSAlg alg)
Set the JWS
alg algorithm for signing the ID token
issued to this client. |
Client |
setJwks(String jwks)
Set the JSON Web Key Set.
|
Client |
setJwksUri(URI uri)
Set the URI of the JSON Web Key Set of the client application.
|
Client |
setLoginUri(URI uri)
Set the URL that can initiate a login for this client application.
|
Client |
setLogoUri(URI uri)
Set the URI of the logo image.
|
Client |
setLogoUris(TaggedValue[] uris)
Set the logo URIs each of which has a language tag.
|
Client |
setModifiedAt(long modifiedAt)
Set the time at which this client was last modified.
|
Client |
setNumber(int number)
Set the client number.
|
Client |
setPolicyUri(URI uri)
Set the URI of the policy page which describes how
the client application uses the profile data of the
end-user.
|
Client |
setPolicyUris(TaggedValue[] uris)
Set the URIs of the policy pages for specific languages.
|
Client |
setRedirectUris(String[] uris)
Set the redirect URIs.
|
Client |
setRequestEncryptionAlg(JWEAlg alg)
Set the JWE
alg algorithm for encrypting request objects. |
Client |
setRequestEncryptionEnc(JWEEnc enc)
Set the JWE
enc algorithm for encrypting request objects. |
Client |
setRequestSignAlg(JWSAlg alg)
Set the JWS
alg algorithm for signing request objects. |
Client |
setRequestUris(String[] uris)
Set the request URIs that this client declares it may use.
|
Client |
setResponseTypes(ResponseType[] responseTypes)
Set
response_type values that the client is declaring
that it will restrict itself to using. |
Client |
setSectorIdentifier(URI sectorIdentifier)
Set the sector identifier.
|
Client |
setServiceNumber(int number)
Set the number of the service which this client belongs to.
|
Client |
setSubjectType(SubjectType subjectType)
Set the subject type that thsi client application requests.
|
Client |
setTlsClientAuthRootDn(String name)
Set the string representation of the expected distinguished
name of the root issuer of the client certificate.
|
Client |
setTlsClientAuthSubjectDn(String name)
Set the string representation of the expected subject
distinguished name of the certificate this client will
use in mutual TLS authentication.
|
Client |
setTokenAuthMethod(ClientAuthMethod method)
Set the client authentication method for the token endpoint.
|
Client |
setTokenAuthSignAlg(JWSAlg alg)
Set the JWS
alg algorithm for signing the JWT used to
authenticate the client at the token endpoint. |
Client |
setTosUri(URI uri)
Set the URI of the "Terms Of Service" page.
|
Client |
setTosUris(TaggedValue[] uris)
Set the URIs of the "Terms Of Service" pages for specific languages.
|
Client |
setUserInfoEncryptionAlg(JWEAlg alg)
Set the JWE
alg algorithm for encrypting UserInfo responses. |
Client |
setUserInfoEncryptionEnc(JWEEnc enc)
Set the JWE
enc algorithm for encrypting UserInfo responses. |
Client |
setUserInfoSignAlg(JWSAlg alg)
Set the JWS
alg algorithm for signing UserInfo responses. |
public int getNumber()
public Client setNumber(int number)
number - The client number.this object.public int getServiceNumber()
public Client setServiceNumber(int number)
number - The service number.this object.public String getDeveloper()
public Client setDeveloper(String developer)
developer - The developer unique ID.this object.public long getClientId()
public Client setClientId(long clientId)
clientId - The client ID.this object.public String getClientIdAlias()
Note that the client ID alias is recognized only when this
client's clientIdAliasEnabled property is true
AND the service's clientIdAliasEnabled
property is also true.
null.public Client setClientIdAlias(String alias)
Note that the client ID alias is recognized only when this
client's clientIdAliasEnabled property is true
AND the service's clientIdAliasEnabled
property is also true.
alias - The alias of the client ID.this object.public boolean isClientIdAliasEnabled()
Note that Service class also has
clientIdAliasEnabled property. If the service's
clientIdAliasEnabled property is false,
the client ID alias of this client is not recognized even
if this client's clientIdAliasEnabled property is
true.
true if the client ID alias is enabled.public Client setClientIdAliasEnabled(boolean enabled)
Note that Service class also has
clientIdAliasEnabled property. If the service's
clientIdAliasEnabled property is false,
the client ID alias of this client is not recognized even
if this client's clientIdAliasEnabled property is
true.
enabled - true to enable the client ID alias.
false to disable it.this object.public String getClientSecret()
public Client setClientSecret(String clientSecret)
clientSecret - The client secret.this object.public ClientType getClientType()
public Client setClientType(ClientType clientType)
clientType - The client type.this object.public String[] getRedirectUris()
public Client setRedirectUris(String[] uris)
uris - The redirect URIs.this object.public ResponseType[] getResponseTypes()
response_type values that the client is declaring
that it will restrict itself to using.public Client setResponseTypes(ResponseType[] responseTypes)
response_type values that the client is declaring
that it will restrict itself to using.responseTypes - The response types.this object.public GrantType[] getGrantTypes()
grant_type values that the client is declaring
that it will restrict itself to using.public Client setGrantTypes(GrantType[] grantTypes)
grant_type values that the client is declaring
that it will restrict itself to using.grantTypes - The grant types.this object.public ApplicationType getApplicationType()
public Client setApplicationType(ApplicationType applicationType)
applicationType - The application type.this object.public String[] getContacts()
public Client setContacts(String[] contacts)
contacts - Email addresses of contacts.this object.public String getClientName()
public Client setClientName(String clientName)
clientName - The client name.this object.public TaggedValue[] getClientNames()
public Client setClientNames(TaggedValue[] clientNames)
clientNames - The client names.this object.public URI getLogoUri()
public Client setLogoUri(URI uri)
uri - The URI of the logo image.this object.public TaggedValue[] getLogoUris()
public Client setLogoUris(TaggedValue[] uris)
uris - The logo URIs.this object.public URI getClientUri()
public Client setClientUri(URI uri)
uri - The URI of the home page.this object.public TaggedValue[] getClientUris()
public Client setClientUris(TaggedValue[] uris)
uris - The URIs of the home page for specific languages.this object.public URI getPolicyUri()
public Client setPolicyUri(URI uri)
uri - The URI of the policy page.this object.public TaggedValue[] getPolicyUris()
public Client setPolicyUris(TaggedValue[] uris)
uris - The URIs of the policy pages for specific languages.this object.public URI getTosUri()
public Client setTosUri(URI uri)
uri - The URI of the "Terms Of Service" page.this object.public TaggedValue[] getTosUris()
public Client setTosUris(TaggedValue[] uris)
uris - The URIs of the "Terms Of Service" pages for specific languages.this object.public URI getJwksUri()
public Client setJwksUri(URI uri)
uri - The URI of the JSON Web Key Set of the client application.this object.public String getJwks()
public Client setJwks(String jwks)
jwks - The JSON Web Key Set.this object.public URI getSectorIdentifier()
public Client setSectorIdentifier(URI sectorIdentifier)
sectorIdentifier - The sector identifier.this object.public SubjectType getSubjectType()
public Client setSubjectType(SubjectType subjectType)
subjectType - The subject type.this object.public JWSAlg getIdTokenSignAlg()
alg algorithm for signing the ID token
issued to this client. This property corresponds to
id_token_signed_response_alg in Client Metadata.alg algorithm for signing the ID
token issued to this client.public Client setIdTokenSignAlg(JWSAlg alg)
alg algorithm for signing the ID token
issued to this client. This property corresponds to
id_token_signed_response_alg in Client Metadata.alg - The JWS alg algorithm for signing the
ID token issued to this client.this object.public JWEAlg getIdTokenEncryptionAlg()
alg algorithm for encrypting the ID token
issued to this client. This property corresponds to
id_token_encrypted_response_algin Client Metadata.alg algorithm for encrypting the
ID token issued to this client.public Client setIdTokenEncryptionAlg(JWEAlg alg)
alg algorithm for encrypting the ID token
issued to this client. This property corresponds to
id_token_encrypted_response_algin Client Metadata.alg - The JWE alg algorithm for encrypting the
ID token issued to this client.this object.public JWEEnc getIdTokenEncryptionEnc()
enc algorithm for encrypting the ID token
issued to this client. This property corresponds to
id_token_encrypted_response_encin Client Metadata.enc algorithm for encrypting the
ID token issued to this client.public Client setIdTokenEncryptionEnc(JWEEnc enc)
enc algorithm for encrypting the ID token
issued to this client. This property corresponds to
id_token_encrypted_response_encin Client Metadata.enc - The JWE enc algorithm for encrypting the
ID token issued to this client.this object.public JWSAlg getUserInfoSignAlg()
alg algorithm for signing UserInfo responses.
This property corresponds to userinfo_signed_response_alg
in Client Metadata.alg algorithm for signing UserInfo responses.public Client setUserInfoSignAlg(JWSAlg alg)
alg algorithm for signing UserInfo responses.
This property corresponds to userinfo_signed_response_alg
in Client Metadata.alg - The JWS alg algorithm for signing UserInfo responses.this object.public JWEAlg getUserInfoEncryptionAlg()
alg algorithm for encrypting UserInfo responses.
This property corresponds to userinfo_encrypted_response_alg
in Client Metadata.alg algorithm for encrypting UserInfo responses.public Client setUserInfoEncryptionAlg(JWEAlg alg)
alg algorithm for encrypting UserInfo responses.
This property corresponds to userinfo_encrypted_response_alg
in Client Metadata.alg - The JWE alg algorithm for encrypting UserInfo responses.this object.public JWEEnc getUserInfoEncryptionEnc()
enc algorithm for encrypting UserInfo responses.
This property corresponds to userinfo_encrypted_response_enc
in Client Metadata.enc algorithm for encrypting UserInfo responses.public Client setUserInfoEncryptionEnc(JWEEnc enc)
enc algorithm for encrypting UserInfo responses.
This property corresponds to userinfo_encrypted_response_enc
in Client Metadata.enc - The JWE enc algorithm for encrypting UserInfo responses.this object.public JWSAlg getRequestSignAlg()
alg algorithm for signing request objects.
This property corresponds to request_object_signing_alg
in Client Metadata.alg algorithm for signing request objects.public Client setRequestSignAlg(JWSAlg alg)
alg algorithm for signing request objects.
This property corresponds to request_object_signing_alg
in Client Metadata.alg - The JWS alg algorithm for signing request objects.this object.public JWEAlg getRequestEncryptionAlg()
alg algorithm for encrypting request objects.
This property corresponds to request_object_encryption_alg
in Client Metadata.alg algorithm for encrypting request objects.public Client setRequestEncryptionAlg(JWEAlg alg)
alg algorithm for encrypting request objects.
This property corresponds to request_object_encryption_alg
in Client Metadata.alg - The JWE alg algorithm for encrypting request objects.this object.public JWEEnc getRequestEncryptionEnc()
enc algorithm for encrypting request objects.
This property corresponds to request_object_encryption_enc
in Client Metadata.enc algorithm for encrypting request objects.public Client setRequestEncryptionEnc(JWEEnc enc)
enc algorithm for encrypting request objects.
This property corresponds to request_object_encryption_enc
in Client Metadata.enc - The JWE enc algorithm for encrypting request objects.this object.public ClientAuthMethod getTokenAuthMethod()
token_endpoint_auth_method
in Client Metadata.public Client setTokenAuthMethod(ClientAuthMethod method)
token_endpoint_auth_method
in Client Metadata.method - The client authentication method for the token endpoint.this object.public JWSAlg getTokenAuthSignAlg()
alg algorithm for signing the JWT used to
authenticate the client at the token endpoint. This property corresponds
to token_endpoint_auth_signing_alg in Client Metadata.alg algorithm for signing the JWT used to
authenticate the client at the token endpoint.public Client setTokenAuthSignAlg(JWSAlg alg)
alg algorithm for signing the JWT used to
authenticate the client at the token endpoint. This property corresponds
to token_endpoint_auth_signing_alg in Client Metadata.alg - The JWS alg algorithm for signing the JWT used to
authenticate the client at the token endpoint.this object.public int getDefaultMaxAge()
default_max_age in Client Metadata.public Client setDefaultMaxAge(int defaultMaxAge)
default_max_age in Client Metadata.
This value is used when the request from the client application does
not contain the max_age request parameter.
defaultMaxAge - The default value of the maximum authentication age in seconds.
0 means that no default value is set.this object.public boolean isAuthTimeRequired()
auth_time
claim to be embedded in the ID token. This property corresponds to
require_auth_time in Client Metadata.auth_time
claim to be embedded in the ID token.public Client setAuthTimeRequired(boolean required)
auth_time
claim to be embedded in the ID token. This property corresponds to
require_auth_time in Client Metadata.required - The flag to indicate whether this client requires auth_time
claim to be embedded in the ID token.this object.public String[] getDefaultAcrs()
default_max_age in Client Metadata.public Client setDefaultAcrs(String[] defaultAcrs)
default_max_age in Client Metadata.
This value is used when the request from the client application does
not contain the acr_values request parameter.
defaultAcrs - The default list of authentication context class references.this object.public URI getLoginUri()
initiate_login_uri in Client Metadata.public Client setLoginUri(URI uri)
initiate_login_uri in Client Metadata.uri - The URL that can initiate a login for this client application.this object.public String[] getRequestUris()
request_uris in Client Metadata.public Client setRequestUris(String[] uris)
request_uris in Client Metadata.uris - The request URIs that this client declares it may use.this object.public String getDescription()
public Client setDescription(String description)
description - The description.this object.public TaggedValue[] getDescriptions()
public Client setDescriptions(TaggedValue[] descriptions)
descriptions - The descriptions for specific languages.this object.public long getCreatedAt()
public Client setCreatedAt(long createdAt)
createdAt - The time at which this client was created.this object.public long getModifiedAt()
public Client setModifiedAt(long modifiedAt)
modifiedAt - The time at which this client was modified.this object.public ClientExtension getExtension()
public Client setExtension(ClientExtension extension)
extension - The extended information about this client.this object.public String getTlsClientAuthSubjectDn()
See tls_client_auth_subject_dn in "2.3. Dynamic
Client Registration" in "Mutual TLS Profiles for
OAuth Clients" for details.
public Client setTlsClientAuthSubjectDn(String name)
See tls_client_auth_subject_dn in "2.3. Dynamic
Client Registration" in "Mutual TLS Profiles for
OAuth Clients" for details.
name - The expected subject distinguished name of the
client certificate.this object.public String getTlsClientAuthRootDn()
See tls_client_auth_root_dn in "2.3. Dynamic
Client Registration" in "Mutual TLS Profiles for
OAuth Clients" for details.
public Client setTlsClientAuthRootDn(String name)
See tls_client_auth_root_dn in "2.3. Dynamic
Client Registration" in "Mutual TLS Profiles for
OAuth Clients" for details.
name - The expected subject distinguished name of the
root issuer of the client certificate.this object.Copyright © 2017. All rights reserved.