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

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.Auth.OAuth2.Google

Synopsis

Documentation

mkGoogleProvider Source #

Arguments

:: Text

client_id from google

-> Text

client_secret from google

-> [ByteString]

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

-> Maybe ProviderInfo

Replacement for default info

-> Google 

Create a google authentication provider

Since: 0.1.0

googleParser :: ProviderParser Source #

Aeson parser for Google provider.

Since: 0.1.0