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
Description
Currently, the ClientAuthenticationMiddlewareProvider and UserAuthenticationMiddlewareProvider middlewares are not exported.
Though the bindings are created by setting useClientAuthenticationMiddleware and useUserAuthenticationMiddleware to true, they are chained to RestTags.REST_MIDDLEWARE_CHAIN which is the default middlware chain.
The middlewares are not exported and hence custom actions (like defining the middleware chain) cannot be configured onto them.
Describe the solution you'd like
Exposing and exporting these middlewares, one can easily customize and chain these middlewares in their sequences other than the default behavious.
Description
Currently, the
ClientAuthenticationMiddlewareProvider
andUserAuthenticationMiddlewareProvider
middlewares are not exported.Though the bindings are created by setting
useClientAuthenticationMiddleware
anduseUserAuthenticationMiddleware
totrue
, they are chained toRestTags.REST_MIDDLEWARE_CHAIN
which is the default middlware chain.The middlewares are not exported and hence custom actions (like defining the middleware chain) cannot be configured onto them.
Describe the solution you'd like
Exposing and exporting these middlewares, one can easily customize and chain these middlewares in their sequences other than the default behavious.
Export them using the index.ts file.
They can be imported and customized.
The text was updated successfully, but these errors were encountered: