Skip to content

Type Alias: HandoffHandler<M> ​

ts
type HandoffHandler<M> = (request, ctx) => 
  | Handoff
  | null
| Promise<Handoff | null>;

The vendor's hosted page where the applicant continues a pending session, made for the request's returnUrl; null once the vendor needs nothing more from the applicant.

Type Parameters ​

M ​

M extends AppManifestSpec

Parameters ​

request ​

HandoffRequest

ctx ​

AppContext<z.output<M["configSchema"]>>

Returns ​

| Handoff | null | Promise<Handoff | null>

Released under the Apache-2.0 License.