Skip to content

Commit

Permalink
simplified deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Zocca committed Jun 17, 2023
1 parent 54c461d commit 8f3c0bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions ms-graph-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,12 @@ library
, containers
, hoauth2 == 2.6.0
, http-client
, http-conduit
, http-types
, jwt
, modern-uri
, req
, retry
, scientific
, scotty
, stm
, text
, time >= 1.8
, transformers >= 0.5
Expand Down
2 changes: 1 addition & 1 deletion src/Network/OAuth2/Provider/AzureAD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Data.Aeson
import qualified Data.Map.Strict as Map
import qualified Data.Set as Set
-- hoauth2
import Network.OAuth.OAuth2 -- (authGetJSON, ClientSecretBasic)
import Network.OAuth.OAuth2 (ClientAuthenticationMethod(..), authGetJSON)
import Network.OAuth2.Experiment (IdpApplication(..), Idp(..), IdpUserInfo, GrantTypeFlow(..), ClientId(..), ClientSecret, Scope, AuthorizeState)
-- text
import qualified Data.Text as T (Text)
Expand Down
2 changes: 0 additions & 2 deletions src/Network/OAuth2/Session.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ import Network.OAuth2.Experiment (IdpUserInfo, conduitUserInfoRequest, mkAuthori
import Network.OAuth.OAuth2.TokenRequest (Errors)
-- http-client
import Network.HTTP.Client (Manager)
-- http-conduit
import Network.HTTP.Conduit (newManager, tlsManagerSettings)
-- http-types
import Network.HTTP.Types (status302, status400, status401)
-- scotty
Expand Down

0 comments on commit 8f3c0bf

Please sign in to comment.