Skip to content

Opensearch dashboards.httpservicesetup.registeronpreauth

Home > opensearch-dashboards > HttpServiceSetup > registerOnPreAuth

HttpServiceSetup.registerOnPreAuth property

To define custom logic to perform for incoming requests before the Auth interceptor performs a check that user has access to requested resources.

Signature:

registerOnPreAuth: (handler: OnPreAuthHandler) => void;

Remarks

Can register any number of registerOnPreAuth, which are called in sequence (from the first registered to the last). See OnPreAuthHandler.