writePending
Function: writePending()
writePending(
ctx,cookieName,path,pending):Promise<boolean>
Defined in: packages/oauth/src/pending.ts:75
Set, or clear without a pending request, the encrypted pending request cookie. The request must fit in a single cookie: readPending does not reassemble split cookies
Parameters
ctx
WebContext
web context
cookieName
string
cookie name
path
string
cookie path
pending
PendingRequest | undefined
pending request, undefined to clear the cookie
Returns
Promise<boolean>
false when the encrypted request is too large for a single cookie (nothing is sent)