15 lines
441 B
TypeScript
15 lines
441 B
TypeScript
import http from "http";
|
|
import { SendOneTimeCodeEmailResponse } from "../../types";
|
|
type Param = {
|
|
request?: http.IncomingMessage & {
|
|
[s: string]: any;
|
|
};
|
|
cookieString?: string;
|
|
email?: string;
|
|
};
|
|
/**
|
|
* # Verify the temp email code sent to the user's email address
|
|
*/
|
|
export default function validateTempEmailCode({ request, email, cookieString, }: Param): Promise<SendOneTimeCodeEmailResponse | null>;
|
|
export {};
|