Class WebIdentityClientGrantsProvider

java.lang.Object
io.minio.credentials.BaseIdentityProvider
io.minio.credentials.WebIdentityClientGrantsProvider
All Implemented Interfaces:
Provider
Direct Known Subclasses:
ClientGrantsProvider, WebIdentityProvider

public abstract class WebIdentityClientGrantsProvider extends BaseIdentityProvider
  • 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

      protected final Integer durationSeconds
    • policy

      protected final String policy
    • roleArn

      protected final String roleArn
    • roleSessionName

      protected final String roleSessionName
  • Constructor Details

    • WebIdentityClientGrantsProvider

      public WebIdentityClientGrantsProvider(@Nonnull Supplier<Jwt> supplier, @Nonnull String stsEndpoint, @Nullable Integer durationSeconds, @Nullable String policy, @Nullable String roleArn, @Nullable String roleSessionName, @Nullable okhttp3.OkHttpClient customHttpClient)
  • Method Details

    • getDurationSeconds

      protected int getDurationSeconds(int expiry)
    • getRequest

      protected okhttp3.Request getRequest()
      Specified by:
      getRequest in class BaseIdentityProvider
    • newUrlBuilder

      protected abstract okhttp3.HttpUrl.Builder newUrlBuilder(Jwt jwt)