receive: (record: any, token: string, via: string) => Promise<any> = ...
Type Declaration
-
- (record: any, token: string, via: string): Promise<any>
-
Parameters
- record: any
- token: string
- via: string
Returns Promise<any>
a promise of { ok, acted } or { ok: false, err, description, code }
Takes one SET from a partner: verifies it (signature,
typ,iss,aud, a freshjti), acts on a verified one as policy permits, and records it. Product mode refuses an unverified SET.