|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.rs.security.oauth.data.Client
public class Client
Represents a registered third-party consumer
Constructor Summary | |
---|---|
Client(String consumerId,
String secretKey)
|
|
Client(String consumerId,
String secretKey,
String applicationName,
String applicationURI)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Client(String consumerId, String secretKey, String applicationName, String applicationURI)
public Client(String consumerId, String secretKey)
Method Detail |
---|
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 boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setPreAuthorizedToken(AccessToken preAuthorizedToken)
public AccessToken getPreAuthorizedToken()
public void setCallbackURI(String callbackURI)
public String getCallbackURI()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |