Closed tomasr78 closed 1 month ago
Finally, we have four authentication methods:
public static string Secret;
public static string Token;
public ConvertApi(string secret)
public ConvertApi(string token)
Create a token authentication demo and add a description in the readme file.
This issue is no longer relevant. A new method for authentication can be found at https://github.com/ConvertAPI/convertapi-dotnet/issues/53.
Add
Token
andSelf Generated Token
authentication. The endpoint should receive two parametersToken and ApiKey
.https://v2.convertapi.com/convert/docx/to/pdf?Token={Token}&ApiKey={ApiKey}
The Token authorization with different tokens can be used in the application and it should be an easy way to change Token parameters on runtime. That's the main difference between Token and Secret authentication.
Related https://github.com/ConvertAPI/convertapi-dotnet/issues/30