This commit is contained in:
8
lib/interfaces/passport-async-options.interface.ts
Normal file
8
lib/interfaces/passport-async-options.interface.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { FactoryProvider, ModuleMetadata } from '@nestjs/common'
|
||||
|
||||
import { PassportOptions } from './passport-options.interface'
|
||||
|
||||
export interface PassportAsyncOptions extends Pick<ModuleMetadata, 'imports'> {
|
||||
useFactory: (...args: any[]) => Promise<PassportOptions> | PassportOptions
|
||||
inject?: FactoryProvider['inject']
|
||||
}
|
||||
Reference in New Issue
Block a user