Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Zocca committed Jun 17, 2023
1 parent fa05678 commit 941303b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/Network/OAuth2/JWT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import Data.Typeable
import qualified Data.Aeson as A (FromJSON(..), ToJSON(..), ToJSONKey(..), FromJSON(..), FromJSONKey(..), Value(..))
-- containers
import qualified Data.Map.Strict as M (Map, lookup)
-- -- hoauth2
-- import Network.OAuth.OAuth2 (OAuth2Token(..), IdToken(..))
-- jwt
import qualified Web.JWT as J (decode, claims, JWTClaimsSet(..), StringOrURI, NumericDate, ClaimsMap(..))
-- scientific
Expand Down
3 changes: 1 addition & 2 deletions src/Network/OAuth2/Session.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ import qualified Data.Map as M (Map, insert, lookup, alter)
-- import qualified Data.Heap as H (Heap, empty, null, size, insert, viewMin, deleteMin, Entry(..), )
-- hoauth2
import Network.OAuth.OAuth2 (OAuth2Token(..))
import Network.OAuth2.Experiment (IdpUserInfo, conduitUserInfoRequest, mkAuthorizeRequest, conduitTokenRequest, conduitRefreshTokenRequest)
import Network.OAuth2.Experiment.Types (HasRefreshTokenRequest(..), WithExchangeToken(..), IdpApplication(..), GrantTypeFlow(..))
import Network.OAuth2.Experiment (IdpUserInfo, conduitUserInfoRequest, mkAuthorizeRequest, conduitTokenRequest, conduitRefreshTokenRequest, HasRefreshTokenRequest(..), WithExchangeToken, IdpApplication(..), GrantTypeFlow(..))
import Network.OAuth.OAuth2.Internal (AccessToken(..), ExchangeToken(..), RefreshToken(..), OAuth2Error, IdToken(..))
import Network.OAuth.OAuth2.TokenRequest (Errors)
-- http-client
Expand Down
8 changes: 7 additions & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@ packages:
- .
# Dependency packages to be pulled from upstream that are not in the resolver.
# These entries can reference officially published versions as well as
# forks / in-progress versions pinned to a git hash. For example:
# forks / in-progress versions pinned to a git hash. For extra:
#
extra-deps:
# - hoauth2-2.6.0
- validation-selective-0.2.0.0
- selective-0.6

allow-newer: true


# - acme-missiles-0.3
# - git: https://github.com/commercialhaskell/stack.git
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
Expand Down

0 comments on commit 941303b

Please sign in to comment.