@webundsoehne/nestjs-auth0-guard
Version:
NestJS Auth0 Guard
17 lines (16 loc) • 559 B
TypeScript
import { Auth0JwtStrategy } from './strategy/auth0-jwt.strategy';
import { Auth0Service } from './auth0.service';
import { Auth0Options } from './auth0.interface';
export declare class Auth0Module {
static register({ options, ...inject }: {
options: Auth0Options;
[name: string]: any;
}): {
module: typeof Auth0Module;
providers: {
provide: typeof Auth0JwtStrategy;
useFactory: (auth0Service: Auth0Service) => Auth0JwtStrategy;
inject: (typeof Auth0Service)[];
}[];
};
}