napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Auth.Web.AuthApiServer

Synopsis

Documentation

appWrapper #

Arguments

:: OAuth2Env

oAuth2 environment

-> (OAuth2Env -> Text)

URL to open the browser to

-> IO OAuth2Code 

wwwApp #

Arguments

:: OAuth2Env

oAuth2 environment

-> IO () 

oAuth2 http server The webserver is used to automate google oAuth2 code X token transaction

indexHtml :: Text #

Forwards user to napkin docs upon successful oAuth2 code acquisition