OptionalcontrollerAlias: UmbControllerAliasInternalInterceptor which checks responses for 401 errors and lets the UmbAuthContext know the user is timed out.
The OpenAPI client to add the interceptor to. It can be any client supporting Response and Request interceptors.
InternalInterceptor which checks responses for 500 errors and displays them as a notification if any.
The OpenAPI client to add the interceptor to. It can be any client supporting Response and Request interceptors.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsInternalInterceptor which checks responses for 403 errors and displays them as a notification.
The OpenAPI client to add the interceptor to. It can be any client supporting Response and Request interceptors.
InternalInterceptor which checks responses for the Umb-Generated-Resource header and replaces the value into the response body.
The OpenAPI client to add the interceptor to. It can be any client supporting Response and Request interceptors.
InternalInterceptor which checks responses for the umb-notifications header and displays them as a notification if any. Removes the umb-notifications from the headers.
The OpenAPI client to add the interceptor to. It can be any client supporting Response and Request interceptors.
Binds the default interceptors to the client. This includes the auth response interceptor, the error interceptor and the umb-notifications interceptor.
The OpenAPI client to add the interceptor to. It can be any client supporting Response and Request interceptors.
Callback method called when context is resolved.
Reference to the created Context Consumer Controller instance
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Optionaloptions: UmbClassGetContextOptionsA Promise with the reference to the Context Api Instance
InternalListen for authorization signal to retry GET-requests that received a 401 Unauthorized response. This will retry all pending requests that received a 401 Unauthorized response after re-authentication. It will also notify the user about non-GET requests that received a 401 Unauthorized response.
An Observable to observe from.
Optionalcallback: ObserverCallback<SpecificT>Callback method called when data is changed.
OptionalcontrollerAlias: null | UmbControllerAliasDefine an explicit controller alias. If not defined then one will be generated based on the callback function. If null is parsed no controller alias will be given.
Reference to the created Observer Controller instance.
The API instance to be exposed.
Reference to the created Context Provider Controller instance
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptions
This mixin enables a web-component to host controllers. This enables controllers to be added to the life cycle of this element.