Interface OAuth2Properties.Builder

  • Method Details

    • tokenUrl

      OAuth2Properties.Builder tokenUrl(String tokenUrl)

      The token URL required for OAuth 2.0 authentication.

      Parameters:
      tokenUrl - The token URL required for OAuth 2.0 authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuth2GrantType

      OAuth2Properties.Builder oAuth2GrantType(String oAuth2GrantType)

      The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.

      Parameters:
      oAuth2GrantType - The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • oAuth2GrantType

      OAuth2Properties.Builder oAuth2GrantType(OAuth2GrantType oAuth2GrantType)

      The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.

      Parameters:
      oAuth2GrantType - The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tokenUrlCustomProperties

      OAuth2Properties.Builder tokenUrlCustomProperties(Map<String,String> tokenUrlCustomProperties)

      Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.

      Parameters:
      tokenUrlCustomProperties - Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.