Home > @i2analyze/i2connect > connectors > IRegisterStorageConfig > authHandler
connectors.IRegisterStorageConfig.authHandler property
Gets or sets an optional auth handler that will be called when a file is requested.
Signature:
readonly authHandler?: (fileId: string, userInformation: ICookieUserInformation) => Promise<void> | void;
Returns: (fileId: string, userInformation: ICookieUserInformation) => Promise<void> | void
Introduced: API version 2.4