diff --git a/frontend/services/application/auth/authApplicationService.ts b/frontend/services/application/auth/authApplicationService.ts new file mode 100644 index 00000000..b3cbd642 --- /dev/null +++ b/frontend/services/application/auth/authApplicationService.ts @@ -0,0 +1,15 @@ +import { AuthRepository } from '~/domain/models/auth/authRepository' + +export class AuthApplicationService { + constructor( + private readonly repository: AuthRepository + ) {} + + public async login(username: string, password: string) { + await this.repository.login(username, password) + } + + public async logout() { + await this.repository.logout() + } +}