Purge the cookie from the system if cookie support is available, this function ignores the enabled setting of the manager so any cookie will be removed. Note: Not using "delete" as the name because it's a reserved word which would cause issues on older browsers
The name of the cookie
Optional
path: string[optional] Path to set for the cookie, if not supplied will default to "/"
Set the named cookie with the value and optional domain and optional
The name of the cookie
The value of the cookie (Must already be encoded)
Optional
maxAgeSec: number[optional] The maximum number of SECONDS that this cookie should survive
Optional
domain: string[optional] The domain to set for the cookie
Optional
path: string[optional] Path to set for the cookie, if not supplied will default to "/"
Optional
unloadUnload and remove any state that this ICookieMgr may be holding, this is generally called when the owning SDK is being unloaded.
Optional
isAsync: booleanCan the unload be performed asynchronously (default)
If the unload occurs synchronously then nothing should be returned, if happening asynchronously then the function should return an IPromise / Promise to allow any listeners to wait for the operation to complete.
Optional
updateOptional Callback hook to allow the cookie manager to update it's configuration, not generally implemented now that dynamic configuration is supported
The new configuration state to apply to the cookie manager
Delete/Remove the named cookie if cookie support is available and enabled. Note: Not using "delete" as the name because it's a reserved word which would cause issues on older browsers