aboutsummaryrefslogtreecommitdiff
path: root/src/Sproxy/Application/OAuth2.hs
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-07-26 21:11:18 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-08-06 19:08:50 +0300
commit581b042658021305aaa48955f5027c875ffdf959 (patch)
tree31e50e58fc0c9d8cbd6c68f15fd460c05b23763d /src/Sproxy/Application/OAuth2.hs
parent1123c543bdd438ad40428e7814325a53c819cee2 (diff)
downloadsproxy2-yandex.tar.gz
Add Yandexyandex
https://tech.yandex.com/oauth/
Diffstat (limited to 'src/Sproxy/Application/OAuth2.hs')
-rw-r--r--src/Sproxy/Application/OAuth2.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Sproxy/Application/OAuth2.hs b/src/Sproxy/Application/OAuth2.hs
index 0f7d6e8..1dec94d 100644
--- a/src/Sproxy/Application/OAuth2.hs
+++ b/src/Sproxy/Application/OAuth2.hs
@@ -9,10 +9,12 @@ 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)
]