Interface CustomJWTAuthorizerConfiguration.Builder

  • Method Details

    • discoveryUrl

      This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.

      Parameters:
      discoveryUrl - This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAudience

      CustomJWTAuthorizerConfiguration.Builder allowedAudience(Collection<String> allowedAudience)

      Represents individual audience values that are validated in the incoming JWT token validation process.

      Parameters:
      allowedAudience - Represents individual audience values that are validated in the incoming JWT token validation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAudience

      CustomJWTAuthorizerConfiguration.Builder allowedAudience(String... allowedAudience)

      Represents individual audience values that are validated in the incoming JWT token validation process.

      Parameters:
      allowedAudience - Represents individual audience values that are validated in the incoming JWT token validation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedClients

      Represents individual client IDs that are validated in the incoming JWT token validation process.

      Parameters:
      allowedClients - Represents individual client IDs that are validated in the incoming JWT token validation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedClients

      CustomJWTAuthorizerConfiguration.Builder allowedClients(String... allowedClients)

      Represents individual client IDs that are validated in the incoming JWT token validation process.

      Parameters:
      allowedClients - Represents individual client IDs that are validated in the incoming JWT token validation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.