mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 01:32:02 +10:00
15 lines
301 B
TypeScript
15 lines
301 B
TypeScript
import { Injectable } from "@nestjs/common";
|
|
import { PassportStrategy } from "@nestjs/passport";
|
|
import { Strategy } from "passport";
|
|
|
|
@Injectable()
|
|
export class DummyStrategy extends PassportStrategy(Strategy, "dummy") {
|
|
constructor() {
|
|
super();
|
|
}
|
|
|
|
authenticate() {
|
|
this.fail();
|
|
}
|
|
}
|