ovh / csharp-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No definition for "RequestConsumerKey"

Snakzi opened this issue · comments

CredentialRequestResult credentialRequestResult = client.RequestConsumerKey(requestPayload);

seems to be obsolete? I'm trying to get the consumer key but "RequestConsumerKey" seems like it does not exist.

await client.RequestConsumerKeyAsync(requestPayload);

does work though. So maybe just edit the readme file :)

Indeed, README file is wrong, we dropped all synchronized implementations of the library when we bumped the version to 4.0: RequestConsumerKeyAsync is now the only way to go. Thanks for pointing this out, will fix it!

Thank you @Snakzi for spotting and reporting this, and thanks to @Namaneo for quickly fixing this!