Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- appWrapper :: OAuth2Env -> (OAuth2Env -> Text) -> IO OAuth2Code
- wwwHandler :: OAuth2Env -> Text -> IO OAuth2Code
- 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 -> Text) | URL to open the browser to |
-> IO OAuth2Code |
wwwHandler :: OAuth2Env -> Text -> IO OAuth2Code #
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] #