Object -
http
:
AuthzFilter
Representation of the Authorization filter.
Constructor
__init
(AuthzHandler authzHandler, Scopes? scopes)
- authzHandler AuthzHandler
-
AuthzHandler
instance for handling authorization
- scopes Scopes?
-
An array of scopes or an array consisting of arrays of scopes
Methods
Fields
- authzHandler AuthzHandler
-
AuthzHandler
instance for handling authorization
- scopes Scopes?
-
An array of scopes or an array consisting of arrays of scopes
Filter function implementation which tries to authorize the request.
Parameters
- caller Caller
-
Caller for outbound HTTP responses
- request Request
-
An inbound HTTP request message
- context FilterContext
-
FilterContext
instance
-
Return Type
(boolean) A flag to indicate if the request flow should be continued(true) or aborted(false)