apihub24_jwt_generator/test/session.service.mock.ts
2025-08-21 21:44:44 +02:00

21 lines
587 B
TypeScript

import {
IAccount,
ISession,
ISessionService,
} from "@apihub24/token-authentication";
export class SessionServiceMock implements ISessionService {
create(account: IAccount): Promise<ISession> {
throw new Error("Method not implemented.");
}
getBy(filter: (account: IAccount) => boolean): Promise<ISession[]> {
throw new Error("Method not implemented.");
}
getById(sessionId: string): Promise<ISession | null> {
throw new Error("Method not implemented.");
}
remove(sessionId: string): Promise<void> {
throw new Error("Method not implemented.");
}
}