Interface JwtConfiguration.Builder

  • Method Details

    • issuers

      The trusted issuers configured for the authorizer.

      Parameters:
      issuers - The trusted issuers configured for the authorizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuers

      JwtConfiguration.Builder issuers(JwtIssuer... issuers)

      The trusted issuers configured for the authorizer.

      Parameters:
      issuers - The trusted issuers configured for the authorizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuers

      The trusted issuers configured for the authorizer.

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

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

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

      JwtConfiguration.Builder defaultAlgorithmsWithStrings(Collection<String> defaultAlgorithms)

      The signing algorithms configured for the authorizer.

      Parameters:
      defaultAlgorithms - The signing algorithms configured for the authorizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAlgorithmsWithStrings

      JwtConfiguration.Builder defaultAlgorithmsWithStrings(String... defaultAlgorithms)

      The signing algorithms configured for the authorizer.

      Parameters:
      defaultAlgorithms - The signing algorithms configured for the authorizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAlgorithms

      JwtConfiguration.Builder defaultAlgorithms(Collection<JwtSigningAlgorithm> defaultAlgorithms)

      The signing algorithms configured for the authorizer.

      Parameters:
      defaultAlgorithms - The signing algorithms configured for the authorizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAlgorithms

      JwtConfiguration.Builder defaultAlgorithms(JwtSigningAlgorithm... defaultAlgorithms)

      The signing algorithms configured for the authorizer.

      Parameters:
      defaultAlgorithms - The signing algorithms configured for the authorizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.