What is apiVersion in LoginApi

In LoginAPI class, method

///


/// Get token API This API provides the functionality to obtain opaque token from authorization_code exchange and also provides the user’s profile in the same response.
///

/// Thrown when fails to make API call
/// API Version Header
/// (optional)
/// (optional)
/// (optional)
/// (optional)
/// (optional)
/// TokenResponse
public TokenResponse Token (string apiVersion, string code = null, string clientId = null, string clientSecret = null, string redirectUri = null, string grantType = null)

uses apiVersion arguement. What is it? Where to find the version?

The API Version is v2.

1 Like