public class CertificateIdentityProvider extends AssumeRoleBaseProvider
Modifier and Type | Class and Description |
---|---|
static class |
CertificateIdentityProvider.CertificateIdentityResponse
Object representation of response XML of AssumeRoleWithCertificate API.
|
AssumeRoleBaseProvider.Response
DEFAULT_DURATION_SECONDS
Constructor and Description |
---|
CertificateIdentityProvider(String stsEndpoint,
SSLSocketFactory sslSocketFactory,
X509TrustManager trustManager,
Integer durationSeconds,
okhttp3.OkHttpClient customHttpClient) |
Modifier and Type | Method and Description |
---|---|
protected okhttp3.Request |
getRequest() |
protected Class<? extends AssumeRoleBaseProvider.Response> |
getResponseClass() |
fetch, getValidDurationSeconds, newUrlBuilder, parseResponse
public CertificateIdentityProvider(@Nonnull String stsEndpoint, @Nullable SSLSocketFactory sslSocketFactory, @Nullable X509TrustManager trustManager, @Nullable Integer durationSeconds, @Nullable okhttp3.OkHttpClient customHttpClient) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
protected okhttp3.Request getRequest()
getRequest
in class AssumeRoleBaseProvider
protected Class<? extends AssumeRoleBaseProvider.Response> getResponseClass()
getResponseClass
in class AssumeRoleBaseProvider