Interface JWTBearerProperties.Builder

    • Method Detail

      • tokenUrl

        JWTBearerProperties.Builder tokenUrl​(ConnectorProperty tokenUrl)

        The token endpoint URL where the JWT bearer token will be exchanged for an access token.

        Parameters:
        tokenUrl - The token endpoint URL where the JWT bearer token will be exchanged for an access token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestMethod

        JWTBearerProperties.Builder requestMethod​(String requestMethod)

        The HTTP method to use when making JWT bearer token requests, typically POST.

        Parameters:
        requestMethod - The HTTP method to use when making JWT bearer token requests, typically POST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HTTPMethod, HTTPMethod
      • requestMethod

        JWTBearerProperties.Builder requestMethod​(HTTPMethod requestMethod)

        The HTTP method to use when making JWT bearer token requests, typically POST.

        Parameters:
        requestMethod - The HTTP method to use when making JWT bearer token requests, typically POST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HTTPMethod, HTTPMethod
      • contentType

        JWTBearerProperties.Builder contentType​(String contentType)

        The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.

        Parameters:
        contentType - The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentType, ContentType
      • contentType

        JWTBearerProperties.Builder contentType​(ContentType contentType)

        The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.

        Parameters:
        contentType - The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentType, ContentType
      • jwtToken

        JWTBearerProperties.Builder jwtToken​(ConnectorProperty jwtToken)

        The JWT token to be used in the bearer token grant flow for authentication.

        Parameters:
        jwtToken - The JWT token to be used in the bearer token grant flow for authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenUrlParameters

        JWTBearerProperties.Builder tokenUrlParameters​(Collection<ConnectorProperty> tokenUrlParameters)

        Additional parameters to include in token URL requests as key-value pairs.

        Parameters:
        tokenUrlParameters - Additional parameters to include in token URL requests as key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenUrlParameters

        JWTBearerProperties.Builder tokenUrlParameters​(ConnectorProperty... tokenUrlParameters)

        Additional parameters to include in token URL requests as key-value pairs.

        Parameters:
        tokenUrlParameters - Additional parameters to include in token URL requests as key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.