import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';

//this is like a bouncer at a club it checks if you take certain conditions before allowing you inside
//local auth guard tells nestjs to use startegy called local
//the local strategy class is registered as 'local' when you extend Passport strategy
@Injectable()
export class LocalAuthGuard extends AuthGuard('local') {}

