auth.provider API
    Preparing search index...

    Interface UserRepository

    interface UserRepository {
        authenticate(username: string, password: string): Promise<User | null>;
        authenticateByToken(token: string): Promise<User | null>;
    }

    Implemented by

    Index