public class JwtBearerClientAssertionCredentials extends Object implements ClientCredentials
| Constructor and Description |
|---|
JwtBearerClientAssertionCredentials(String tokenEndpointUri,
String clientId,
CertificateWithPrivateKey keyPair)
Creates new JwtBearerClientAssertionCredentials
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentialThumbprint()
Get client credentials thumbprint value
|
List<NameValuePair> |
getPostParams()
Get client credentials token request parameters
|
public JwtBearerClientAssertionCredentials(String tokenEndpointUri, String clientId, CertificateWithPrivateKey keyPair)
tokenEndpointUri - OAuth2 token endpoint URI. Used as "aud" claim valueclientId - OAuth2 "client_id"keyPair - Certificate and private key. Certificate must be signed with SHA256. RSA keys must be 2048 bits long. Certificate must be associated with the client_id on the server.public List<NameValuePair> getPostParams()
ClientCredentialsgetPostParams in interface ClientCredentialspublic String getCredentialThumbprint()
ClientCredentialsgetCredentialThumbprint in interface ClientCredentialsCopyright © 2016 Scalepoint Technologies Ltd.. All rights reserved.