Object - http : AuthzFilter

Representation of the Authorization filter

Constructor

__init

(AuthzHandler authzHandler, string[] | string[] | () scopes)

Methods

Fields

  • authzHandler AuthzHandler
  • AuthzHandler instance for handling authorization

filterRequest

(Caller caller, Request request, FilterContext context)

returns boolean

Filter function implementation which tries to authorize the request

Parameters

  • caller Caller
  • Caller for outbound HTTP responses

  • Return Type

    (boolean)
  • A flag to indicate if the request flow should be continued(true) or aborted(false), a code and a message

filterResponse

(Response response, FilterContext context)

returns boolean

Parameters