This determines how the SDK handles cross-origin image loading. anonymous
, use-credentials
, and none
are the available options, "anonymous" means that CORS is enabled and credentials are sent if the image is fetched from the same origin from which the document was loaded, "use-credentials" indicates that credentials such as cookies and HTTP auth information are sent with the request, and "none" indicates that the request lacks a CORS header and is treated as a same-origin request. For example, if you want to load images from a specific domain that requires credentials, you would set the "crossOrigin" parameter to use-credentials
and provide the necessary credentials.
For more information, please visit our documentation here.