Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- appWrapper :: OAuth2Env -> (OAuth2Env -> Text) -> IO OAuth2Code
- wwwHandler :: OAuth2Env -> Text -> IO OAuth2Code
- wwwApp :: OAuth2Env -> IO ()
- waiApp :: OAuth2Env -> IO Application
- callbackH :: OAuth2Env -> ActionM ()
- 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 #