Interface JwtBearerGrant.Builder

  • Method Details

    • authorizedTokenIssuers

      JwtBearerGrant.Builder authorizedTokenIssuers(Collection<AuthorizedTokenIssuer> authorizedTokenIssuers)

      A list of allowed token issuers trusted by the Identity Center instances for this application.

      AuthorizedTokenIssuers is required when the grant type is JwtBearerGrant.

      Parameters:
      authorizedTokenIssuers - A list of allowed token issuers trusted by the Identity Center instances for this application.

      AuthorizedTokenIssuers is required when the grant type is JwtBearerGrant.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizedTokenIssuers

      JwtBearerGrant.Builder authorizedTokenIssuers(AuthorizedTokenIssuer... authorizedTokenIssuers)

      A list of allowed token issuers trusted by the Identity Center instances for this application.

      AuthorizedTokenIssuers is required when the grant type is JwtBearerGrant.

      Parameters:
      authorizedTokenIssuers - A list of allowed token issuers trusted by the Identity Center instances for this application.

      AuthorizedTokenIssuers is required when the grant type is JwtBearerGrant.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizedTokenIssuers

      JwtBearerGrant.Builder authorizedTokenIssuers(Consumer<AuthorizedTokenIssuer.Builder>... authorizedTokenIssuers)

      A list of allowed token issuers trusted by the Identity Center instances for this application.

      AuthorizedTokenIssuers is required when the grant type is JwtBearerGrant.

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

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

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