-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: quick fix for netatmo api changes
Extend CredentialManager to accept refresh_token and add warning message for deprecated GenerateToken Example usage: ```csharp var clientId = "myClientId"; var clientSecret = "myClientSecret"; var accessToken = "myAccessToken"; var refreshToken = "myRefreshToken"; var client = new Client( SystemClock.Instance, "https://api.netatmo.com/", clientId, clientSecret); client.ProvideOAuth2Token(accessToken, refreshToken); await client.RefreshToken(); var stationsData = await client.Weather.GetStationsData(); ``` Refs: #167 #168
- Loading branch information
1 parent
8d19783
commit e1d747c
Showing
4 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters