Object -
http
:
AuthzFilter
Representation of the Authorization filter.
Constructor
__init
(AuthzHandler authzHandler, string | string | () scopes)
- authzHandler AuthzHandler
- scopes string | string | ()
Methods
Fields
- authzHandler AuthzHandler
-
AuthzHandlerinstance for handling authorization
- scopes string | string | ()
-
Array of scopes
Filter function implementation which tries to authorize the request.
Parameters
- caller Caller
-
Caller for outbound HTTP responses
- request Request
-
Requestinstance
- context FilterContext
-
FilterContextinstance
-
Return Type
(boolean) A flag to indicate if the request flow should be continued(true) or aborted(false), a code and a message
-
Return Type
(boolean)