blob: ae23b6e53900ad61f0fd5f287f5b077c25df7d28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{-# LANGUAGE OverloadedStrings #-}
module Sproxy.Application.OAuth2
( providers
) where
import Data.HashMap.Strict (HashMap, fromList)
import Data.Text (Text)
import Sproxy.Application.OAuth2.Common (OAuth2Provider)
import qualified Sproxy.Application.OAuth2.Google as Google
import qualified Sproxy.Application.OAuth2.LinkedIn as LinkedIn
import qualified Sproxy.Application.OAuth2.Yandex as Yandex
providers :: HashMap Text OAuth2Provider
providers =
fromList
[ ("google", Google.provider)
, ("linkedin", LinkedIn.provider)
, ("yandex", Yandex.provider)
]
|