Object -
http
:
AuthzFilter
Representation of the Authorization filter.
Constructor
__init
(AuthzHandler authzHandler, string | string | () scopes)
- authzHandler AuthzHandler
- scopes string | string | ()
Methods
Fields
- authzHandler AuthzHandler
-
AuthzHandler
instance 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
-
Request
instance
- context FilterContext
-
FilterContext
instance
-
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)