Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
loginGithubUser :: OAuth2 -> Handler Source
:: GithubConfig | Oauth2 configuration (client secret) |
-> GithubCallbackPars | Authentication code gained after authorization |
-> String | Github state, we expect the state we sent in loginGithubUser |
-> GititServerPart (Either GithubLoginError User) | user email and name (password |
data GithubLoginError Source