You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`@Authorized(roles?: string\|string[])`|`@Authorized("SUPER_ADMIN")` get() | Checks if user is authorized and has given roles on a given route. `authorizationChecker` should be defined in routing-controllers options. ||
1562
+
|`@Authorized(roles?: string\|string[])`|`@Authorized("SUPER_ADMIN")` get() | Checks if user is authorized and has given roles on a given route. `authorizationChecker` should be defined in routing-controllers options. |
1536
1563
|`@CurrentUser(options?: { required?: boolean })`| get(@CurrentUser({ required: true }) user: User) | Injects currently authorized user. `currentUserChecker` should be defined in routing-controllers options. |
1537
1564
|`@Header(headerName: string, headerValue: string)`|`@Header("Cache-Control", "private")` get() | Allows to explicitly set any HTTP header returned in the response. |
1538
1565
|`@ContentType(contentType: string)`|`@ContentType("text/csv")` get() | Allows to explicitly set HTTP Content-Type returned in the response. |
0 commit comments