Class: AuthorizationMiddleware
Global middleware that evaluates authorization policies after authentication middleware has populated the security context.
Constructors
Constructor
new AuthorizationMiddleware(
authorizationEngine):AuthorizationMiddleware
Parameters
authorizationEngine
Engine that evaluates the policies attached to the target.
Returns
AuthorizationMiddleware
Methods
authenticate()
authenticate(
context):Promise<void>
Parameters
context
Current transport execution context.
Returns
Promise<void>