public class ClientCredentials extends Object implements ClientIdentity, Serializable
| Constructor and Description |
|---|
ClientCredentials(String clientId,
String clientSecret)
Specifies the OAuth 2.0 client.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
Client id of identity service instance.
|
String |
getSecret()
Client secret of identity service instance.
|
int |
hashCode() |
boolean |
isValid()
Returns true, if the mandatory attributes in ClientIdentity class are filled
for the specified authentication method i.e X.509 or client secret
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCertificate, getKey, hasValue, isCertificateBasedpublic String getSecret()
ClientIdentitygetSecret in interface ClientIdentitypublic String getId()
ClientIdentitygetId in interface ClientIdentitypublic boolean isValid()
ClientIdentityisValid in interface ClientIdentityCopyright © 2022. All rights reserved.