SFSDKWebViewStateManager Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SFSDKWebViewStateManager.h |
+ removeSession
Remove all associated state with WKWebView e.g. Remove Cookies, reset WKProcessPool unless session cookie removal has been disabled.
+ (void)removeSessionDeclared In
SFSDKWebViewStateManager.h
+ forceRemoveSession
Force removes all associated state with WKWebView e.g. Remove Cookies, reset WKProcessPool ingorns if session cookie removal has been disabled.
+ (void)forceRemoveSessionDeclared In
SFSDKWebViewStateManager.h
sessionCookieManagementDisabled
Disables the crreation/removal of session Cookies. The application can call the respective methods
@property (class, nonatomic, assign, getter=isSessionCookieManagementDisabled) BOOL sessionCookieManagementDisabledDeclared In
SFSDKWebViewStateManager.h
sharedProcessPool
Gets or sets an instance of WKProcessPool that will be used during instantiation of any WKWebView instances @discussion Use the default instance or provide an instance to share state between WKWebView instances
@property (class, strong, nonatomic, nullable) WKProcessPool *sharedProcessPoolDeclared In
SFSDKWebViewStateManager.h
+ resetSessionCookie
Clears session cookie data from the cookie store unless session cookie removal has been disabled.
+ (void)resetSessionCookieDeclared In
SFSDKWebViewStateManager.h