Created
December 5, 2011 08:29
-
-
Save ndv/1432854 to your computer and use it in GitHub Desktop.
setSignInProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Ecwid.OnAPILoaded.add(function() { | |
window.Ecwid.setSignInProvider({ | |
addSignInLinkToPB: function() { return true; }, | |
signIn: function () { alert('sign in'); | |
window.Ecwid.setSsoProfile('<?php echo "$message $hmac $timestamp"; ?>'); | |
}, | |
canSignOut: function() { return true; }, | |
signOut: function () { alert('sign out') } | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment