import type { Request } from 'express';
import type { StrategyOptionsWithRequest } from 'passport-jwt';

export interface IAuthenticationStrategy {
  getPassportOptions(): StrategyOptionsWithRequest;
  validate(req: Request, payload: Record<string, unknown>): Promise<object>;
}
