@authduo/authduo
Version:
Free User-sovereign Authentication for the World
15 lines (14 loc) • 511 B
TypeScript
import { Keys } from "../../auth/tokens/keys.js";
import { Proof } from "../../auth/tokens/proof.js";
import { LoginTokens, ProofVerification } from "../../auth/tokens/types.js";
export declare class Login {
proof: Proof;
keys: Keys;
constructor(proof: Proof, keys: Keys);
static verify(tokens: LoginTokens, options: ProofVerification): Promise<Login>;
isExpired(): boolean;
get name(): string;
get thumbprint(): string;
get expiresAt(): number;
get tokens(): LoginTokens;
}