tinyagent
Version:
Connect your local shell to any device - access your dev environment from anywhere
21 lines • 535 B
TypeScript
interface FirebaseUser {
uid: string;
email?: string | null;
displayName?: string | null;
photoURL?: string | null;
}
export declare class FirebaseAuthClient {
private configPath;
private token?;
constructor();
private loadToken;
private saveToken;
isAuthenticated(): boolean;
getToken(): string | undefined;
getUser(): FirebaseUser | undefined;
authenticate(): Promise<boolean>;
logout(): void;
whoami(): void;
}
export {};
//# sourceMappingURL=firebase-auth-simple.d.ts.map