public class Client extends Object
Constructor and Description |
---|
Client(String consumerId,
String secretKey) |
Client(String consumerId,
String secretKey,
String applicationName,
String applicationURI) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getApplicationDescription()
Gets the description of the third-party application.
|
String |
getApplicationName()
Gets the name of the third-party application
this client represents
|
String |
getApplicationURI()
Gets the public URI of the third-party application.
|
String |
getCallbackURI() |
String |
getConsumerKey()
Gets the consumer registration id
|
String |
getLoginName()
Gets the optional login name; can be used
for enforcing the RBAC rules
|
String |
getLogoUri() |
AccessToken |
getPreAuthorizedToken() |
String |
getSecretKey()
Gets the secret key
|
int |
hashCode() |
void |
setApplicationDescription(String applicationDescription)
Sets the description of the third-party application.
|
void |
setApplicationName(String applicationName)
Sets the name of the third-party application
this client represents
|
void |
setApplicationURI(String applicationURI)
Sets the public URI of the third-party application.
|
void |
setCallbackURI(String callbackURI) |
void |
setLoginName(String name)
Sets the optional login name
|
void |
setLogoUri(String logoPath)
Sets the uri pointing to a client logo image.
|
void |
setPreAuthorizedToken(AccessToken preAuthorizedToken) |
public Client(String consumerId, String secretKey, String applicationName, String applicationURI)
public String getConsumerKey()
public String getSecretKey()
public String getApplicationName()
public void setApplicationName(String applicationName)
applicationName
- the namepublic String getApplicationURI()
public void setApplicationURI(String applicationURI)
public void setApplicationDescription(String applicationDescription)
public String getApplicationDescription()
public void setLogoUri(String logoPath)
logoPath
- public String getLogoUri()
public String getLoginName()
public void setLoginName(String name)
name
- the login namepublic void setPreAuthorizedToken(AccessToken preAuthorizedToken)
public AccessToken getPreAuthorizedToken()
public void setCallbackURI(String callbackURI)
public String getCallbackURI()
Apache CXF