@a11ywatch/core
Version:
a11ywatch central API
22 lines (21 loc) • 488 B
TypeScript
declare type PayLoadInput = {
payload?: {
keyid?: number;
audience?: any;
subject?: any;
};
};
declare type ContextInputType = {
user?: PayLoadInput;
};
declare type PayLoadReturnType = {
userId: number | null;
audience: any;
subject: any;
};
declare type OverideTypeInput = {
id?: number;
password?: any;
};
export declare const getPayLoad: (context?: ContextInputType, overide?: OverideTypeInput) => PayLoadReturnType;
export {};