public class ClientDto
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ClientDto()
Initializes a new
ClientDto. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContactAddress()
Gets the email address to contact the client vendor.
|
java.lang.String |
getDefaultScope()
Gets the default scope that should be applied when an authorization request does not
specify a certain scope.
|
java.lang.String |
getDescription()
Gets the clients description.
|
IconDto |
getIcon()
Gets the clients icon.
|
java.lang.String |
getId()
Gets the clients public identifier.
|
java.lang.String |
getName()
Gets the clients name.
|
java.util.List<java.lang.String> |
getRedirectURIs()
Gets the list of redirect URIs that are used to callback the client when a user grants access.
|
long |
getRegistrationDate()
Gets the registration date of the client in milliseconds since January 1, 1970, 00:00:00 GMT.
|
java.lang.String |
getSecret()
Gets the clients secret.
|
java.lang.String |
getWebsite()
Gets the URL of the clients website.
|
boolean |
isEnabled()
Gets whether the client is enabled or not.
|
void |
setContactAddress(java.lang.String contactAddress)
Sets the email address to contact the client vendor.
|
void |
setDefaultScope(java.lang.String defaultScope)
Sets the default scope that should be applied when an authorization request does not
specify a certain scope.
|
void |
setDescription(java.lang.String description)
Sets the clients description.
|
void |
setEnabled(boolean enabled)
Sets whether the client is enabled or not.
|
void |
setIcon(IconDto icon)
Sets the clients icon.
|
void |
setId(java.lang.String id)
Sets the clients public identifier.
|
void |
setName(java.lang.String name)
Sets the clients name.
|
void |
setRedirectURIs(java.util.List<java.lang.String> redirectURIs)
Sets the list of redirect URIs that are used to callback the client when a user grants access.
|
void |
setRegistrationDate(long registrationDate)
Sets the registration date of the client in milliseconds since January 1, 1970, 00:00:00 GMT.
|
void |
setSecret(java.lang.String secret)
Sets the clients secret.
|
void |
setWebsite(java.lang.String website)
Sets the URL of the clients website.
|
public ClientDto()
ClientDto.public java.lang.String getId()
public void setId(java.lang.String id)
id - The identifierpublic java.lang.String getSecret()
public void setSecret(java.lang.String secret)
secret - The secretpublic java.lang.String getName()
public void setName(java.lang.String name)
name - The namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The descriptionpublic java.lang.String getWebsite()
public void setWebsite(java.lang.String website)
website - The websitepublic java.lang.String getContactAddress()
public void setContactAddress(java.lang.String contactAddress)
contactAddress - The contact addresspublic IconDto getIcon()
public void setIcon(IconDto icon)
icon - The iconpublic java.lang.String getDefaultScope()
public void setDefaultScope(java.lang.String defaultScope)
defaultScope - The default scopepublic long getRegistrationDate()
public void setRegistrationDate(long registrationDate)
registrationDate - The registration datepublic boolean isEnabled()
true if the client is enabled, otherwise falsepublic void setEnabled(boolean enabled)
enabled - true if the client is enabled, otherwise falsepublic java.util.List<java.lang.String> getRedirectURIs()
public void setRedirectURIs(java.util.List<java.lang.String> redirectURIs)
redirectURIs - The URIs