Type Alias QwpBrowserSessionAuthentication
QwpBrowserSessionAuthentication:
| { password: string; type: "basic"; username: string }
| { token: string; type: "bearer" }
Type declaration
- { password: string; type: "basic"; username: string }
password: string
type: "basic"
username: string
- { token: string; type: "bearer" }
token: string
type: "bearer"
A browser credential: HTTP Basic, or a QuestDB REST token or OIDC access token sent as a Bearer token.
sessionBootstrapexchanges it over REST for QuestDB's HttpOnly session cookies;authsends it with every QWP WebSocket upgrade instead.