Open a particular dialog

UserKitWidget.open(dialog);

If the dialog you are attempting to open requires a login, the user will be prompted to login first.

Page IDDescriptionLogin Required?
change_passwordProvides a form allowing users to change their current passwordYes
forgot_passwordPrompts the user to enter the identifier used to login. They will receive an email with instructions to reset their password.No
loginLogin formNo
registerUser registration formNo
settingsDisplays a form with the options for the current user to manage their user informationYes
request_phone_verification_codeUsed to validate phone numbers and change how a user logs inNo

Close all open dialogs

UserKitWidget.dismiss();

Logout current user

UserKit.logout();

Get current user data

UserKit.getUser();

Check if user is currently logged in

UserKit.isLoggedIn();