21 lines
587 B
TypeScript
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.");
|
|
}
|
|
}
|