Interface OAuthCredentialProviderConfigurationOutput.Builder

  • Method Details

    • allowedGrantTypesWithStrings

      OAuthCredentialProviderConfigurationOutput.Builder allowedGrantTypesWithStrings(Collection<String> allowedGrantTypes)

      The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.

      Parameters:
      allowedGrantTypes - The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedGrantTypesWithStrings

      OAuthCredentialProviderConfigurationOutput.Builder allowedGrantTypesWithStrings(String... allowedGrantTypes)

      The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.

      Parameters:
      allowedGrantTypes - The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedGrantTypes

      The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.

      Parameters:
      allowedGrantTypes - The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedGrantTypes

      OAuthCredentialProviderConfigurationOutput.Builder allowedGrantTypes(GrantType... allowedGrantTypes)

      The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.

      Parameters:
      allowedGrantTypes - The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vendorConfigurationOutput

      OAuthCredentialProviderConfigurationOutput.Builder vendorConfigurationOutput(OAuthVendorConfigurationOutput vendorConfigurationOutput)

      Resolved discovery and redacted client authentication details.

      Parameters:
      vendorConfigurationOutput - Resolved discovery and redacted client authentication details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vendorConfigurationOutput

      default OAuthCredentialProviderConfigurationOutput.Builder vendorConfigurationOutput(Consumer<OAuthVendorConfigurationOutput.Builder> vendorConfigurationOutput)

      Resolved discovery and redacted client authentication details.

      This is a convenience method that creates an instance of the OAuthVendorConfigurationOutput.Builder avoiding the need to create one manually via OAuthVendorConfigurationOutput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vendorConfigurationOutput(OAuthVendorConfigurationOutput).

      Parameters:
      vendorConfigurationOutput - a consumer that will call methods on OAuthVendorConfigurationOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionConfiguration

      OAuthCredentialProviderConfigurationOutput.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.

      Parameters:
      encryptionConfiguration - How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default OAuthCredentialProviderConfigurationOutput.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)

      How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.

      This is a convenience method that creates an instance of the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionSource

      OAuthCredentialProviderConfigurationOutput.Builder encryptionSource(String encryptionSource)

      Whether encryptionConfiguration comes from the pool or the provider override.

      Parameters:
      encryptionSource - Whether encryptionConfiguration comes from the pool or the provider override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionSource

      Whether encryptionConfiguration comes from the pool or the provider override.

      Parameters:
      encryptionSource - Whether encryptionConfiguration comes from the pool or the provider override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identityCenterApplicationArn

      OAuthCredentialProviderConfigurationOutput.Builder identityCenterApplicationArn(String identityCenterApplicationArn)

      Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.

      Parameters:
      identityCenterApplicationArn - Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • idcInstanceArn

      Amazon Resource Name of the IAM Identity Center instance to associate with a pool. The instance must already exist and be in the same Region as the pool.

      Parameters:
      idcInstanceArn - Amazon Resource Name of the IAM Identity Center instance to associate with a pool. The instance must already exist and be in the same Region as the pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedSessionBindingUrls

      OAuthCredentialProviderConfigurationOutput.Builder allowedSessionBindingUrls(Collection<String> allowedSessionBindingUrls)

      The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.

      Parameters:
      allowedSessionBindingUrls - The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedSessionBindingUrls

      OAuthCredentialProviderConfigurationOutput.Builder allowedSessionBindingUrls(String... allowedSessionBindingUrls)

      The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.

      Parameters:
      allowedSessionBindingUrls - The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callbackUrls

      Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.

      Parameters:
      callbackUrls - Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callbackUrls

      Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.

      Parameters:
      callbackUrls - Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.