public class ClientGrantsProvider extends WebIdentityClientGrantsProvider
Modifier and Type | Class and Description |
---|---|
static class |
ClientGrantsProvider.ClientGrantsResponse
Object representation of response XML of AssumeRoleWithClientGrants API.
|
AssumeRoleBaseProvider.Response
durationSeconds, MAX_DURATION_SECONDS, MIN_DURATION_SECONDS, policy, roleArn, roleSessionName, stsEndpoint
DEFAULT_DURATION_SECONDS
Constructor and Description |
---|
ClientGrantsProvider(Supplier<Jwt> supplier,
String stsEndpoint,
Integer durationSeconds,
String policy,
okhttp3.OkHttpClient customHttpClient) |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends AssumeRoleBaseProvider.Response> |
getResponseClass() |
protected okhttp3.HttpUrl.Builder |
newUrlBuilder(Jwt jwt) |
getDurationSeconds, getRequest
fetch, getValidDurationSeconds, newUrlBuilder, parseResponse
protected okhttp3.HttpUrl.Builder newUrlBuilder(Jwt jwt)
newUrlBuilder
in class WebIdentityClientGrantsProvider
protected Class<? extends AssumeRoleBaseProvider.Response> getResponseClass()
getResponseClass
in class AssumeRoleBaseProvider