Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Google = Google {}
- mkGoogleProvider :: Text -> Text -> [ByteString] -> Maybe ProviderInfo -> Google
- googleParser :: ProviderParser
Documentation
Instances
FromJSON Google Source # | |
AuthProvider Google Source # | |
Defined in Network.Wai.Middleware.Auth.OAuth2.Google getProviderName :: Google -> Text Source # getProviderInfo :: Google -> ProviderInfo Source # handleLogin :: Google -> Request -> [Text] -> Render ProviderUrl -> (AuthLoginState -> IO Response) -> (Status -> ByteString -> IO Response) -> IO Response Source # refreshLoginState :: Google -> Request -> AuthUser -> IO (Maybe (Request, AuthUser)) Source # |
:: Text |
|
-> Text |
|
-> [ByteString] | White list of posix regular expressions for emails attached to github account. |
-> Maybe ProviderInfo | Replacement for default info |
Create a google authentication provider
Since: 0.1.0
googleParser :: ProviderParser Source #
Aeson parser for Google
provider.
Since: 0.1.0