# IProtocolOptions Interface
Module | import { IProtocolOptions } from "@tsed/passport" |
---|---|
Source | /packages/passport/src/interfaces/IProtocolOptions.ts |
# Overview
interface IProtocolOptions<T = any> {
name: string;
useStrategy: Type<Strategy>;
settings: T;
}
# Members
name: string;
useStrategy: Type<Strategy>;
settings: T;
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing