UserManagerMetrics.cs (34)
60internal void UpdateUser(string userType, IdentityResult? result, UserUpdateType updateType, Exception? exception = null)
213private static string GetUpdateType(UserUpdateType updateType)
217UserUpdateType.Update => "update",
218UserUpdateType.UserName => "user_name",
219UserUpdateType.AddPassword => "add_password",
220UserUpdateType.ChangePassword => "change_password",
221UserUpdateType.SecurityStamp => "security_stamp",
222UserUpdateType.ResetPassword => "reset_password",
223UserUpdateType.RemoveLogin => "remove_login",
224UserUpdateType.AddLogin => "add_login",
225UserUpdateType.AddClaims => "add_claims",
226UserUpdateType.ReplaceClaim => "replace_claim",
227UserUpdateType.RemoveClaims => "remove_claims",
228UserUpdateType.AddToRoles => "add_to_roles",
229UserUpdateType.RemoveFromRoles => "remove_from_roles",
230UserUpdateType.SetEmail => "set_email",
231UserUpdateType.ConfirmEmail => "confirm_email",
232UserUpdateType.PasswordRehash => "password_rehash",
233UserUpdateType.RemovePassword => "remove_password",
234UserUpdateType.ChangeEmail => "change_email",
235UserUpdateType.SetPhoneNumber => "set_phone_number",
236UserUpdateType.ChangePhoneNumber => "change_phone_number",
237UserUpdateType.SetTwoFactorEnabled => "set_two_factor_enabled",
238UserUpdateType.SetLockoutEnabled => "set_lockout_enabled",
239UserUpdateType.SetLockoutEndDate => "set_lockout_end_date",
240UserUpdateType.AccessFailed => "access_failed",
241UserUpdateType.ResetAccessFailedCount => "reset_access_failed_count",
242UserUpdateType.SetAuthenticationToken => "set_authentication_token",
243UserUpdateType.RemoveAuthenticationToken => "remove_authentication_token",
244UserUpdateType.ResetAuthenticatorKey => "reset_authenticator_key",
245UserUpdateType.GenerateNewTwoFactorRecoveryCodes => "generate_new_two_factor_recovery_codes",
246UserUpdateType.RedeemTwoFactorRecoveryCode => "redeem_two_factor_recovery_code",
247UserUpdateType.AddOrUpdatePasskey => "add_or_update_passkey",
248UserUpdateType.RemovePasskey => "remove_passkey",