Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

299 B
Raw Blame
import type { UserModel } from '../../applications/users/models/user.model.js'
import type { AUTH_SCOPE } from '../constants/scope.js'

export abstract class AuthProvider {
  abstract validateUser(loginOrEmail: string, password: string, ip?: string, scope?: AUTH_SCOPE): Promise<UserModel | null>
}