# Decorator Authorize
DecoratorModule | import { Authorize } from "@tsed/passport" |
---|---|
Source | /packages/passport/src/decorators/authorize.ts |
# Overview
function Authorize(protocol?: string | string[], options?: AuthorizeOptions): Function;
Other topics
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Seq
- OIDC
- Stripe
- Controllers
- Providers
- Model
- JsonMapper
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Exceptions
- Hooks
- Response Filter
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing