-
-
Save neilk/5505612 to your computer and use it in GitHub Desktop.
Revisions
-
gr2m created this gist
Apr 25, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ // sign up account.signUp('joe@example.com', 'secret'); // sign in account.signIn('joe@example.com', 'secret'); // sign in via oauth account.signInWith('twitter'); // sign out account.signOut(); // change password account.changePassword('currentpassword', 'newpassword'); // change username account.changeUsername('currentpassword', 'newusername'); // reset password account.resetPassword('joe@example.com'); // destroy account and all its data account.destroy();