UNPKG

pocketbase-tools

Version:

A TypeScript toolkit for PocketBase, featuring a standard service/action/types layered structure. It provides interfaces and implementations for common business logic such as users, products, company profiles, and file utilities, making it suitable for se

14 lines (13 loc) 454 B
export interface AuthStrategy { authenticate(email: string, password: string): Promise<any>; refreshToken(): Promise<any>; logout(): Promise<void>; } export declare class DefaultAuthStrategy implements AuthStrategy { private client; private collection; constructor(client: any, collection?: string); authenticate(email: string, password: string): Promise<any>; refreshToken(): Promise<any>; logout(): Promise<void>; }