|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.client.oauth2.ClientIdentifier
public class ClientIdentifier
Client Identifier that contains information about client id and client secret issues by a Service Provider for application. The class stores client secret as byte array to improve security.
| Constructor Summary | |
|---|---|
ClientIdentifier(String clientId,
byte[] clientSecret)
Create a new instance initialized with client id and client secret in form of byte array. |
|
ClientIdentifier(String clientId,
String clientSecret)
Create a new instance initialized with client id and client secret in form of String value. |
|
| Method Summary | |
|---|---|
String |
getClientId()
Get the client id. |
String |
getClientSecret()
Get client secret. |
byte[] |
getClientSecretAsByteArray()
Get client secret as byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientIdentifier(String clientId,
String clientSecret)
clientId - Client id.clientSecret - Client secret id.
public ClientIdentifier(String clientId,
byte[] clientSecret)
clientId - Client id.clientSecret - Client secret id as a byte array value.| Method Detail |
|---|
public String getClientId()
public String getClientSecret()
public byte[] getClientSecretAsByteArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||