Skip to content

Commit

Permalink
will it work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Zocca committed Oct 31, 2023
1 parent ef3afa9 commit 91ad617
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions ms-auth/src/Network/OAuth2/Provider/AzureAD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module Network.OAuth2.Provider.AzureAD (
, AzureADException(..)
-- * Types
, Idp(..), IdpApplication(..)
, GrantTypeFlow(..)
) where

-- import Data.String (IsString(..))
Expand Down
4 changes: 2 additions & 2 deletions ms-graph-api-test/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Network.HTTP.Client (Manager, newManager)
import Network.HTTP.Client.TLS (tlsManagerSettings)
-- ms-auth
import MSAuth (OAuth2Token(..))
import Network.OAuth2.Provider.AzureAD (IdpApplication, GrantTypeFlow(..))
import Network.OAuth2.Provider.AzureAD (OAuthCfg(..), azureOAuthADApp, AzureAD, IdpApplication, GrantTypeFlow(..))
-- req
import Network.HTTP.Req (HttpConfig, runReq, defaultHttpConfig, httpConfigAltManager)
-- scotty
Expand All @@ -42,7 +42,7 @@ import qualified MSGraphAPI.Files.Drive as MSD (Drive(..), listDrivesGroup)
import qualified MSGraphAPI.Files.DriveItem as MSDI (listRootChildrenMe)
import qualified MSGraphAPI.Users.Group as MSGU (Group(..), listMeJoinedTeams, listGroupsDriveItems)
import qualified MSGraphAPI.Users.User as MSG (getMe, User(..))
import Network.OAuth2.Provider.AzureAD (OAuthCfg(..), azureOAuthADApp, AzureAD)

import MSAuth (Tokens, newTokens, tokensToList, withAADUser, loginEndpoint, replyEndpoint, UserSub, Scotty, Action)


Expand Down
11 changes: 7 additions & 4 deletions ms-graph-api-test/ms-graph-api-test.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules: Lib
build-depends: base >= 4.7 && < 5,
directory >= 1.3.6.2
build-depends: base >= 4.7 && < 5
, directory >= 1.3.6.2
, ms-auth >= 0.5
, ms-graph-api

ghc-options: -Wall

executable ms-graph-api-test
Expand All @@ -35,8 +38,8 @@ executable ms-graph-api-test
, dotenv-micro == 0.1.0.1
, http-client
, http-client-tls >= 0.3
, ms-auth >= 0.5
, ms-graph-api
, ms-auth
, ms-graph-api >= 0.12
, ms-graph-api-test
, req
, scotty
Expand Down

0 comments on commit 91ad617

Please sign in to comment.