status: (
username: string,
) => {
address: string;
failures: number;
kind: "" | Kind;
offered: { code: boolean; link: boolean };
optedIn: "" | Kind;
usable: boolean;
verified: boolean;
why: string;
} = ...
Type Declaration
-
- (
username: string,
): {
address: string;
failures: number;
kind: "" | Kind;
offered: { code: boolean; link: boolean };
optedIn: "" | Kind;
usable: boolean;
verified: boolean;
why: string;
}
-
Returns {
address: string;
failures: number;
kind: "" | Kind;
offered: { code: boolean; link: boolean };
optedIn: "" | Kind;
usable: boolean;
verified: boolean;
why: string;
}
{ optedIn, kind, usable, why, verified, address, offered, failures }, where why says what keeps an opted-in factor from being
usable
Answers everything a page or a sign-in asks about one person's emailed factor.