public void SentChallengeEmail(Security.IUser user) { _workflowManager.TriggerEvent("UserSentChallengeEmail", user, () => new Dictionary <string, object> { { "User", user } }); }
public void ConfirmedEmail(Security.IUser user) { _workflowManager.TriggerEvent("UserConfirmedEmail", user, () => new Dictionary <string, object> { { "User", user } }); }
public void ChangedPassword(Security.IUser user) { _workflowManager.TriggerEvent("UserChangedPassword", user, () => new Dictionary <string, object> { { "User", user } }); }
public void AccessDenied(Security.IUser user) { _workflowManager.TriggerEvent("UserAccessDenied", user, () => new Dictionary <string, object> { { "User", user } }); }
public void LoggedOut(Security.IUser user) { _workflowManager.TriggerEvent("UserLoggedOut", user, () => new Dictionary <string, object> { { "User", user } }); }
/// <summary> /// Constructor /// </summary> /// <param name="user"></param> public IdentityUser(Security.IUser user) { _user = user; }
/// <summary> /// Persiste o usuário na base /// </summary> /// <param name="user">Usuário a persistir</param> /// <returns></returns> protected abstract bool InsertUser(Security.IUser user);
/// <summary> /// Atualiza o cadastro do usuário /// </summary> /// <param name="user">Usuário</param> public abstract void UpdateUser(Security.IUser user);