ImpSdk.authentication.logout

Developed by Meysam Ghaderyan
ImpSdk.authentication.logout(callbackUrl string)
Name Description
authentication.logout(callbackUrl) removes user data from local storage. If the user is logged in with Macys, it redirects to Macys logout page and redirects them back to callbackUrl

Example:

ImpSdk.authentication.logout('http://someurl');

Demo