Foxit PDF SDK
9.1
|
Instance Methods | |
(BOOL) | - isRMSProtected |
Check whether the current document is protected by RMS(Right Management Services). More... | |
(void) | - setRMSAppClientId:redirectURI: |
Set the app client id and server URL for encryption or decryption of RMS protected PDF file. More... | |
Class Methods | |
(BOOL) | + handleMSALResponse:sourceApplication: |
+ (BOOL) handleMSALResponse: | (nonnull NSURL *) | response | |
sourceApplication: | (nullable NSString *) | sourceApplication | |
Ask MSAL to handle URL response. You MUST implement this API in following cases:
You should call this API from your UISceneDelegate implementation, for example:
(void)scene:(UIScene *)scene openURLContexts:(NSSet<UIOpenURLContext *> *)URLContexts { UIOpenURLContext *context = URLContexts.anyObject; NSURL *url = context.URL; NSString *sourceApplication = context.options.sourceApplication;
[FSPDFViewCtrl handleMSALResponse:url sourceApplication:sourceApplication]; }
Calling this API ensures that MSAL can receive tokens from the Microsoft Authenticator application.
Extends class FSPDFViewCtrl.
- (BOOL) isRMSProtected |
Check whether the current document is protected by RMS(Right Management Services).
Extends class FSPDFViewCtrl.
- (void) setRMSAppClientId: | (nonnull NSString *) | appClientId | |
redirectURI: | (nonnull NSString *) | redirectURI | |
Set the app client id and server URL for encryption or decryption of RMS protected PDF file.
Extends class FSPDFViewCtrl.