Package io.minio.credentials
Class WebIdentityClientGrantsProvider
java.lang.Object
io.minio.credentials.BaseIdentityProvider
io.minio.credentials.WebIdentityClientGrantsProvider
- All Implemented Interfaces:
Provider
- Direct Known Subclasses:
ClientGrantsProvider,WebIdentityProvider
Base provider of
WebIdentityProvider and ClientGrantsProvider.-
Nested Class Summary
Nested classes/interfaces inherited from class io.minio.credentials.BaseIdentityProvider
BaseIdentityProvider.Response -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Integerstatic final intstatic final intprotected final Stringprotected final Stringprotected final Stringprotected final okhttp3.HttpUrlFields inherited from class io.minio.credentials.BaseIdentityProvider
DEFAULT_DURATION_SECONDS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetDurationSeconds(int expiry) protected okhttp3.Requestprotected abstract okhttp3.HttpUrl.BuildernewUrlBuilder(Jwt jwt) Methods inherited from class io.minio.credentials.BaseIdentityProvider
fetch, getResponseClass, getValidDurationSeconds, newUrlBuilder, parseResponse
-
Field Details
-
MIN_DURATION_SECONDS
public static final int MIN_DURATION_SECONDS -
MAX_DURATION_SECONDS
public static final int MAX_DURATION_SECONDS -
stsEndpoint
protected final okhttp3.HttpUrl stsEndpoint -
durationSeconds
-
policy
-
roleArn
-
roleSessionName
-
-
Constructor Details
-
WebIdentityClientGrantsProvider
-
-
Method Details
-
getDurationSeconds
protected int getDurationSeconds(int expiry) -
getRequest
protected okhttp3.Request getRequest()- Specified by:
getRequestin classBaseIdentityProvider
-
newUrlBuilder
-