@Test public void requestPasswordResetSynchronously() throws Exception { try { NCMBUser.requestPasswordReset("sample@example.com"); } catch (Exception error) { Assert.fail(error.getMessage()); } }
public static void requestPasswordReset(String mailAddress) throws NCMBException { NCMBUserService service = (NCMBUserService) NCMB.factory(NCMB.ServiceType.USER); service.requestPasswordReset(mailAddress); }
NCMBUser extends NCMBObject { public static void requestPasswordReset(String mailAddress) throws NCMBException { NCMBUserService service = (NCMBUserService) NCMB.factory(NCMB.ServiceType.USER); service.requestPasswordReset(mailAddress); } }
NCMBUser extends NCMBObject { public static void requestPasswordReset(String mailAddress) throws NCMBException { NCMBUserService service = (NCMBUserService) NCMB.factory(NCMB.ServiceType.USER); service.requestPasswordReset(mailAddress); } NCMBUser();   NCMBUser(JSONObject params); }
NCMBUser extends NCMBObject { public static void requestPasswordReset(String mailAddress) throws NCMBException { NCMBUserService service = (NCMBUserService) NCMB.factory(NCMB.ServiceType.USER); service.requestPasswordReset(mailAddress); } NCMBUser();   NCMBUser(JSONObject params); static NCMBQuery<NCMBUser> getQuery(); String getUserName(); void setUserName(String userName); void setPassword(String password); Boolean isMailAddressConfirmed(); String getMailAddress(); void setMailAddress(String mailAddress); boolean isAuthenticated(); boolean isLinkedWith(String provider); JSONObject getAuthData(); JSONObject getAuthData(String provider); void signUp(); void signUpInBackground(final DoneCallback callback); static void requestAuthenticationMail(String mailAddress); static void requestAuthenticationMailInBackground(String mailAddress, DoneCallback callback); static void requestPasswordReset(String mailAddress); static void requestPasswordResetInBackground(String mailAddress, DoneCallback callback); static NCMBUser loginWithMailAddress(String mailAddress, String password); static void loginWithMailAddressInBackground(String mailAddress, String password,
                                                        LoginCallback callback); static NCMBUser loginWithAnonymous(); static void loginWithAnonymousInBackground(final LoginCallback callback); static NCMBUser login(String userName, String password); static void loginInBackground(String userName, String password,
                                         LoginCallback callback); static void logout(); static void logoutInBackground(DoneCallback callback); static NCMBUser loginWith(Object authData); static void loginInBackgroundWith(Object authData, LoginCallback callback); void linkWith(Object params); void linkInBackgroundWith(Object params, final DoneCallback callback); void unlink(@NonNull String provider); void unlinkInBackground(@NonNull final String provider, final DoneCallback callback); @Override void save(); @Override void saveInBackground(final DoneCallback callback); @Override void fetch(); @Override void fetchInBackground(final FetchCallback callback); @Override void deleteObject(); @Override void deleteObjectInBackground(final DoneCallback callback); static NCMBUser getCurrentUser(); static String getSessionToken(); }
NCMBUser extends NCMBObject { public static void requestPasswordReset(String mailAddress) throws NCMBException { NCMBUserService service = (NCMBUserService) NCMB.factory(NCMB.ServiceType.USER); service.requestPasswordReset(mailAddress); } NCMBUser();   NCMBUser(JSONObject params); static NCMBQuery<NCMBUser> getQuery(); String getUserName(); void setUserName(String userName); void setPassword(String password); Boolean isMailAddressConfirmed(); String getMailAddress(); void setMailAddress(String mailAddress); boolean isAuthenticated(); boolean isLinkedWith(String provider); JSONObject getAuthData(); JSONObject getAuthData(String provider); void signUp(); void signUpInBackground(final DoneCallback callback); static void requestAuthenticationMail(String mailAddress); static void requestAuthenticationMailInBackground(String mailAddress, DoneCallback callback); static void requestPasswordReset(String mailAddress); static void requestPasswordResetInBackground(String mailAddress, DoneCallback callback); static NCMBUser loginWithMailAddress(String mailAddress, String password); static void loginWithMailAddressInBackground(String mailAddress, String password,
                                                        LoginCallback callback); static NCMBUser loginWithAnonymous(); static void loginWithAnonymousInBackground(final LoginCallback callback); static NCMBUser login(String userName, String password); static void loginInBackground(String userName, String password,
                                         LoginCallback callback); static void logout(); static void logoutInBackground(DoneCallback callback); static NCMBUser loginWith(Object authData); static void loginInBackgroundWith(Object authData, LoginCallback callback); void linkWith(Object params); void linkInBackgroundWith(Object params, final DoneCallback callback); void unlink(@NonNull String provider); void unlinkInBackground(@NonNull final String provider, final DoneCallback callback); @Override void save(); @Override void saveInBackground(final DoneCallback callback); @Override void fetch(); @Override void fetchInBackground(final FetchCallback callback); @Override void deleteObject(); @Override void deleteObjectInBackground(final DoneCallback callback); static NCMBUser getCurrentUser(); static String getSessionToken();  }