Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- appWrapper :: OAuth2Env -> (OAuth2Env -> URI) -> IO OAuth2CodeWithSource
- wwwHandler :: OAuth2Env -> URI -> IO OAuth2CodeWithSource
- wwwApp :: OAuth2Env -> IO ()
- waiApp :: OAuth2Env -> IO Application
- globalErrorHandler :: LText -> ActionM ()
- indexH :: ActionM ()
- callbackH :: OAuth2Env -> ActionM ()
- paramValue :: LText -> [Param] -> [LText]
- hasParam :: LText -> Param -> Bool
- indexHtml :: Text
Documentation
:: OAuth2Env | oAuth2 environment |
-> (OAuth2Env -> URI) | URL to open the browser to |
-> IO OAuth2CodeWithSource |
wwwHandler :: OAuth2Env -> URI -> IO OAuth2CodeWithSource #
oAuth2 http server The webserver is used to automate google oAuth2 code X token transaction
waiApp :: OAuth2Env -> IO Application #
globalErrorHandler :: LText -> ActionM () #
paramValue :: LText -> [Param] -> [LText] #