Documentation
¶
Overview ¶
Package demoserver is a small API matching the user-creation example collection, so the collection (and Flowi) can be tried without a real backend. It also has helper routes for exercising HTTP behaviour: redirects, cookies, status codes, compression and large bodies.
It keeps no state: tokens are signed with a key made when the handler is created, so restarting the server invalidates them.
Index ¶
Constants ¶
View Source
const ClientID = "demo-client"
ClientID is what GET /v1/config returns and POST /v1/verify requires in X-Client-Id.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
flowi-demo-server
command
Command flowi-demo-server serves the demo API that the user-creation example collection talks to.
|
Command flowi-demo-server serves the demo API that the user-creation example collection talks to. |
Click to show internal directories.
Click to hide internal directories.