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