Hi,
I'm implementing a File Provider Extension and I need to authenticate users before they can open files. My files are showing just fine in a Document Browser and can be opened. However I need the authentication.
From the WWDC 2017 video "File Provider Enhancements" at 48:45 I understand that the FPUIActionExtensionViewController function prepare(forError error: Error) is called when an authentication error happens (HTTP error 401 or ?). How can I test/trigger this?
If I try a "Custom Action" (from the Xcode template) the FPUIActionExtensionViewController function prepare(forAction actionIdentifier: String, itemIdentifiers: [NSFileProviderItemIdentifier]) is called just fine, and the custom view is presented.
I can't find any documentation on this.