packages feed

hoauth2 2.7.0 → 2.8.0

raw patch · 3 files changed

+13/−14 lines, 3 filesdep ~memorydep ~textPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: memory, text

API changes (from Hackage documentation)

Files

README.org view
@@ -1,8 +1,8 @@ * Introduction -Lightweight Haskell binding for+Haskell binding for -- [The OAuth 2.0 Authorization Framework](https://datatracker.ietf.org/doc/html/rfc6749)-  - If the provider does implement [OIDC spec](https://openid.net/specs/openid-connect-core-1_0.html),-    ID Token would also be included in token response (see `OAuth2Token`).-- [The OAuth 2.0 Authorization Framework: Bearer Token Usage](https://www.rfc-editor.org/rfc/rfc6750)+- [[https://datatracker.ietf.org/doc/html/rfc6749][The OAuth 2.0 Authorization Framework]]+  - If the Identity Provider also implements [[https://openid.net/specs/openid-connect-core-1_0.html][OIDC spec]], ID Token will also be present in token response (see ~OAuth2Token~).+- [[https://www.rfc-editor.org/rfc/rfc7523.html][JWT Profile for OAuth2 Client Authentication and Authorization Grants]]+- [[https://www.rfc-editor.org/rfc/rfc6750][The OAuth 2.0 Authorization Framework: Bearer Token Usage]]
hoauth2.cabal view
@@ -2,14 +2,10 @@ name:               hoauth2  -- http://wiki.haskell.org/Package_versioning_policy-version:            2.7.0+version:            2.8.0 synopsis:           Haskell OAuth2 authentication client description:-  Haskell OAuth2 authentication client.-  .-  Tutorial <https://github.com/freizl/hoauth2/tree/main/hoauth2-tutorial/>-  .-  Demo application <https://github.com/freizl/hoauth2-demo/tree/main/hoauth2-demo/>+  See readme for more details.  homepage:           https://github.com/freizl/hoauth2 license:            MIT@@ -67,9 +63,9 @@     , exceptions            >=0.8.3  && <0.11     , http-conduit          >=2.1    && <2.4     , http-types            >=0.11   && <0.13-    , memory                ^>=0.17+    , memory                ^>=0.18     , microlens             ^>=0.4.0-    , text                  >=0.11   && <1.3+    , text                  ^>=2.0     , transformers          ^>=0.5     , uri-bytestring        >=0.2.3  && <0.4     , uri-bytestring-aeson  ^>=0.1
src/Network/OAuth2/Experiment.hs view
@@ -37,8 +37,11 @@ -- Firstly, initialize your IdP (use google as example) and the application. -- -- @+-- {\-# LANGUAGE DataKinds #-\}+-- -- data Google = Google deriving (Eq, Show)--- googleIdp = Idp Google+-- googleIdp :: Idp Google+-- googleIdp = --   Idp --     { idpFetchUserInfo = authGetJSON @(IdpUserInfo Google), --       idpAuthorizeEndpoint = [uri|https:\/\/accounts.google.com\/o\/oauth2\/v2\/auth|],