Factor

import type { Factor } from "https://esm.sh/@supabase/[email protected]/dist/index.d.mts";

A MFA factor.

type Factor<Type extends FactorType = FactorType, Status extends FactorVerificationStatus = (FactorVerificationStatuses)[number]> = {
id: string;
friendly_name?: string;
factor_type: Type;
status: Status;
created_at: string;
updated_at: string;
last_challenged_at?: string;
}
;

§Type Parameters

§
Status extends FactorVerificationStatus = (FactorVerificationStatuses)[number]
[src]

§Type

§
{
id: string;
friendly_name?: string;
factor_type: Type;
status: Status;
created_at: string;
updated_at: string;
last_challenged_at?: string;
}
[src]