wai-middleware-auth-0.1.2.1: Authentication middleware that secures WAI application

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.Auth.OAuth2.Github

Synopsis

Documentation

mkGithubProvider Source #

Arguments

:: Text

Name of the application as it is registered on github

-> Text

client_id from github

-> Text

client_secret from github

-> [ByteString]

White list of posix regular expressions for emails attached to github account.

-> Maybe ProviderInfo

Replacement for default info

-> Github 

Create a github authentication provider

Since: 0.1.0

githubParser :: ProviderParser Source #

Aeson parser for Github provider.

Since: 0.1.0