Skip to content

hoauth2-2.0

Compare
Choose a tag to compare
@freizl freizl released this 15 Feb 19:14

Break changes

  • Refactoring naming convention of OAuth2 data type.
-  { oauthClientId            = "xxxxxxxxxxxxxxx"
-  , oauthClientSecret        = Just "xxxxxxxxxxxxxxxxxxxxxx"
-  , oauthCallback            = Just [uri|http://127.0.0.1:9988/oauthCallback|]
-  , oauthOAuthorizeEndpoint  = [uri|https://api.weibo.com/oauth2/authorize|]
-  , oauthAccessTokenEndpoint = [uri|https://api.weibo.com/oauth2/access_token|]
+  { oauth2ClientId           = "xxxxxxxxxxxxxxx"
+  , oauth2ClientSecret       = Just "xxxxxxxxxxxxxxxxxxxxxx"
+  , oauth2RedirectUri        = Just [uri|http://127.0.0.1:9988/oauthCallback|]
+  , oauth2AuthorizeEndpoint  = [uri|https://api.weibo.com/oauth2/authorize|]
+  , oauth2TokenEndpoint      = [uri|https://api.weibo.com/oauth2/access_token|]
+  }

Full Changelog: hoauth2-1.16.2...hoauth2-2.0