Reputation: 59
Here i am using external weather api to get the weather information.I easily configure my api in postman by passing client id, client secret,access token url and grant type. But i am not able to configure all this to my c# code.
Can anybody help me to configure above parameter in c#
Upvotes: 1
Views: 2822
Reputation: 2091
There are many libraries out there to help you with oauth apis. See IdentityModel or https://github.com/titarenko/OAuth2 .
Upvotes: 1