hoauth2 1.14.0 → 1.15.0
raw patch · 2 files changed
+19/−10 lines, 2 filesdep ~wai-extraPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: wai-extra
API changes (from Hackage documentation)
Files
- example/Keys.hs +17/−8
- hoauth2.cabal +2/−2
example/Keys.hs view
@@ -17,9 +17,9 @@ -- | http://developer.github.com/v3/oauth/ githubKey :: OAuth2-githubKey = OAuth2 { oauthClientId = "xxxxxxxxxxxxxxx"- , oauthClientSecret = Just "xxxxxxxxxxxxxxxxxxxxxx"- , oauthCallback = Just [uri|http://127.0.0.1:9988/githubCallback|]+githubKey = OAuth2 { oauthClientId = "bf86d338485a96a93c88"+ , oauthClientSecret = Just "a90515a66c1de4ffcf839900bc0cda0a74d44e58"+ , oauthCallback = Just [uri|http://127.0.0.1:9988/oauth2/callback|] , oauthOAuthorizeEndpoint = [uri|https://github.com/login/oauth/authorize|] , oauthAccessTokenEndpoint = [uri|https://github.com/login/oauth/access_token|] }@@ -95,8 +95,17 @@ zohoKey :: OAuth2 zohoKey = OAuth2 { oauthClientId = "xxx"- , oauthClientSecret = Just "xxx"- , oauthCallback = Just [uri|http://localhost:9988/oauth2/callback|]- , oauthOAuthorizeEndpoint = [uri|https://accounts.zoho.com/oauth/v2/auth|]- , oauthAccessTokenEndpoint = [uri|https://accounts.zoho.com/oauth/v2/token|]- }+ , oauthClientSecret = Just "xxx"+ , oauthCallback = Just [uri|http://localhost:9988/oauth2/callback|]+ , oauthOAuthorizeEndpoint = [uri|https://accounts.zoho.com/oauth/v2/auth|]+ , oauthAccessTokenEndpoint = [uri|https://accounts.zoho.com/oauth/v2/token|]+ }++jiraKey :: OAuth2+jiraKey = OAuth2+ { oauthClientId = "Uku1UYrrthADsgLMtbe3myrP2r8EGKFk"+ , oauthClientSecret = Just "tOJXIdO-fJ9afdJGMW7yksRL49HJhtZ-03kpny06489cc2MUtsdJHZOzuphmH0Gs"+ , oauthCallback = Just [uri|http://localhost:9988/oauth2/callback|]+ , oauthOAuthorizeEndpoint = [uri|https://auth.atlassian.com/authorize|]+ , oauthAccessTokenEndpoint = [uri|https://auth.atlassian.com/oauth/token|]+ }
hoauth2.cabal view
@@ -1,7 +1,7 @@ Cabal-version: 2.4 Name: hoauth2 -- http://wiki.haskell.org/Package_versioning_policy-Version: 1.14.0+Version: 1.15.0 Synopsis: Haskell OAuth2 authentication client @@ -130,7 +130,7 @@ aeson >= 1.3.0.0 && < 1.6, microlens >= 0.4.0 && < 0.5, unordered-containers >= 0.2.5,- wai-extra >= 3.0.21.0 && < 3.1,+ wai-extra >= 3.0.21.0 && < 3.2, wai-middleware-static >= 0.8.1 && < 0.8.4, mustache >= 2.2.3 && < 2.4.0, mtl >= 2.2.1 && < 2.3,