Interface JWTConfiguration.Builder

    • Method Detail

      • audience

        JWTConfiguration.Builder audience​(Collection<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.
      • 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

        JWTConfiguration.Builder issuer​(String 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.