napkin-0.5.12
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Napkin.Auth.Web.AuthApiServer

Description

 
Synopsis

Documentation

appWrapper #

Arguments

:: OAuth2Env

oAuth2 environment

-> (OAuth2Env -> URI)

URL to open the browser to

-> IO OAuth2CodeWithSource 

wwwApp #

Arguments

:: OAuth2Env

oAuth2 environment

-> IO () 

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

indexH :: ActionM () #

used to check if the server is up

indexHtml :: Text #

Forwards user to napkin docs upon successfull oAuth2 code acquistion