Is there an interface like NSFileProviderUserInteractions in File Provider to interact directories?

Hello everyone, I am developing an application based on File Provider. Now I want to interact with the user when they open the directory. For example, when a user opens a directory, an alert message is displayed to interact with the user. So, I can prompt the user to enter the password before they can access this directory. NSFileProviderUserInteractions seems to only restrict certain operations on files, such as copy or move, but no open.

Thanks a lot.

Is there an interface like NSFileProviderUserInteractions in File Provider to interact directories?
 
 
Q