Interface JWTConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JWTConfiguration.Builder,JWTConfiguration>, SdkBuilder<JWTConfiguration.Builder,JWTConfiguration>, SdkPojo
Enclosing class:
JWTConfiguration

public static interface JWTConfiguration.Builder extends SdkPojo, CopyableBuilder<JWTConfiguration.Builder,JWTConfiguration>
  • Method Details

    • audience

      A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.

      Parameters:
      audience - A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audience

      JWTConfiguration.Builder audience(String... audience)

      A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.

      Parameters:
      audience - A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuer

      The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com/{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.

      Parameters:
      issuer - The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com /{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.