Safe Haskell | None |
---|---|
Language | Haskell98 |
Network.Gitit.Authentication.Github
Documentation
loginGithubUser :: OAuth2 -> Handler Source
Arguments
:: 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 GithubCallbackPars Source
Instances
data GithubLoginError Source