Interface JwtConfigurationInput.Builder

  • Method Details

    • issuers

      The issuers that the authorizer trusts. Issuer URLs must be unique.

      Parameters:
      issuers - The issuers that the authorizer trusts. Issuer URLs must be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuers

      The issuers that the authorizer trusts. Issuer URLs must be unique.

      Parameters:
      issuers - The issuers that the authorizer trusts. Issuer URLs must be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuers

      The issuers that the authorizer trusts. Issuer URLs must be unique.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to issuers(List<JwtIssuerInput>).

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

      JwtConfigurationInput.Builder defaultAlgorithmsWithStrings(Collection<String> defaultAlgorithms)

      The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.

      Parameters:
      defaultAlgorithms - The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAlgorithmsWithStrings

      JwtConfigurationInput.Builder defaultAlgorithmsWithStrings(String... defaultAlgorithms)

      The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.

      Parameters:
      defaultAlgorithms - The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAlgorithms

      JwtConfigurationInput.Builder defaultAlgorithms(Collection<JwtSigningAlgorithm> defaultAlgorithms)

      The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.

      Parameters:
      defaultAlgorithms - The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAlgorithms

      JwtConfigurationInput.Builder defaultAlgorithms(JwtSigningAlgorithm... defaultAlgorithms)

      The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.

      Parameters:
      defaultAlgorithms - The signing algorithms that the authorizer accepts, applied to every issuer. Valid values are RS256, RS384, RS512, ES256, ES384, and ES512.
      Returns:
      Returns a reference to this object so that method calls can be chained together.