UserManagerMetrics.cs (34)
90internal void UpdateUser(string userType, IdentityResult? result, UserUpdateType updateType, long startTimestamp, Exception? exception = null)
250private static string GetUpdateType(UserUpdateType updateType)
254UserUpdateType.Update => "update",
255UserUpdateType.SetUserName => "set_user_name",
256UserUpdateType.AddPassword => "add_password",
257UserUpdateType.ChangePassword => "change_password",
258UserUpdateType.UpdateSecurityStamp => "update_security_stamp",
259UserUpdateType.ResetPassword => "reset_password",
260UserUpdateType.RemoveLogin => "remove_login",
261UserUpdateType.AddLogin => "add_login",
262UserUpdateType.AddClaims => "add_claims",
263UserUpdateType.ReplaceClaim => "replace_claim",
264UserUpdateType.RemoveClaims => "remove_claims",
265UserUpdateType.AddToRoles => "add_to_roles",
266UserUpdateType.RemoveFromRoles => "remove_from_roles",
267UserUpdateType.SetEmail => "set_email",
268UserUpdateType.ConfirmEmail => "confirm_email",
269UserUpdateType.PasswordRehash => "password_rehash",
270UserUpdateType.RemovePassword => "remove_password",
271UserUpdateType.ChangeEmail => "change_email",
272UserUpdateType.SetPhoneNumber => "set_phone_number",
273UserUpdateType.ChangePhoneNumber => "change_phone_number",
274UserUpdateType.SetTwoFactorEnabled => "set_two_factor_enabled",
275UserUpdateType.SetLockoutEnabled => "set_lockout_enabled",
276UserUpdateType.SetLockoutEndDate => "set_lockout_end_date",
277UserUpdateType.IncrementAccessFailed => "increment_access_failed",
278UserUpdateType.ResetAccessFailedCount => "reset_access_failed_count",
279UserUpdateType.SetAuthenticationToken => "set_authentication_token",
280UserUpdateType.RemoveAuthenticationToken => "remove_authentication_token",
281UserUpdateType.ResetAuthenticatorKey => "reset_authenticator_key",
282UserUpdateType.GenerateNewTwoFactorRecoveryCodes => "generate_new_two_factor_recovery_codes",
283UserUpdateType.RedeemTwoFactorRecoveryCode => "redeem_two_factor_recovery_code",
284UserUpdateType.AddOrUpdatePasskey => "add_or_update_passkey",
285UserUpdateType.RemovePasskey => "remove_passkey",