inspectAccount()
inspectAccount(signInId): Promise<{
account: | {
accountLimits: unknown;
paidCredits?: {
hasCredits: boolean;
unlimited: boolean;
};
plan?: string;
status: "available";
}
| {
reason: string;
status: "rejected";
}
| {
kind: "http" | "network" | "parse" | "aborted";
reason: string;
status: "failed";
};
signInId: string;
}>;Reads the subscription’s account, which may renew the stored token.
Parameters
signInId
string
Last updated on