Skip to content

Commit 562021c

Browse files
committed
PR feedback
1 parent acf45f6 commit 562021c

File tree

4 files changed

+55
-47
lines changed

4 files changed

+55
-47
lines changed

src/Identity/Core/src/SignInManagerMetrics.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,3 @@ private static string GetSignInResult(SignInResult result)
198198
};
199199
}
200200
}
201-
202-
internal enum SignInType
203-
{
204-
Refresh,
205-
Password,
206-
TwoFactorRecoveryCode,
207-
TwoFactorAuthenticator,
208-
TwoFactor,
209-
External,
210-
Passkey
211-
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
namespace Microsoft.AspNetCore.Identity;
5+
6+
internal enum SignInType
7+
{
8+
Refresh,
9+
Password,
10+
TwoFactorRecoveryCode,
11+
TwoFactorAuthenticator,
12+
TwoFactor,
13+
External,
14+
Passkey
15+
}

src/Identity/Extensions.Core/src/UserManagerMetrics.cs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -253,39 +253,3 @@ public void Dispose()
253253
_meter.Dispose();
254254
}
255255
}
256-
257-
internal enum UserUpdateType
258-
{
259-
Update,
260-
UserName,
261-
AddPassword,
262-
ChangePassword,
263-
SecurityStamp,
264-
ResetPassword,
265-
RemoveLogin,
266-
AddLogin,
267-
AddClaims,
268-
ReplaceClaim,
269-
RemoveClaims,
270-
AddToRoles,
271-
RemoveFromRoles,
272-
SetEmail,
273-
ConfirmEmail,
274-
PasswordRehash,
275-
RemovePassword,
276-
ChangeEmail,
277-
SetPhoneNumber,
278-
ChangePhoneNumber,
279-
SetTwoFactorEnabled,
280-
SetLockoutEnabled,
281-
SetLockoutEndDate,
282-
AccessFailed,
283-
ResetAccessFailedCount,
284-
SetAuthenticationToken,
285-
RemoveAuthenticationToken,
286-
ResetAuthenticatorKey,
287-
GenerateNewTwoFactorRecoveryCodes,
288-
RedeemTwoFactorRecoveryCode,
289-
SetPasskey,
290-
RemovePasskey
291-
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
namespace Microsoft.AspNetCore.Identity;
5+
6+
internal enum UserUpdateType
7+
{
8+
Update,
9+
UserName,
10+
AddPassword,
11+
ChangePassword,
12+
SecurityStamp,
13+
ResetPassword,
14+
RemoveLogin,
15+
AddLogin,
16+
AddClaims,
17+
ReplaceClaim,
18+
RemoveClaims,
19+
AddToRoles,
20+
RemoveFromRoles,
21+
SetEmail,
22+
ConfirmEmail,
23+
PasswordRehash,
24+
RemovePassword,
25+
ChangeEmail,
26+
SetPhoneNumber,
27+
ChangePhoneNumber,
28+
SetTwoFactorEnabled,
29+
SetLockoutEnabled,
30+
SetLockoutEndDate,
31+
AccessFailed,
32+
ResetAccessFailedCount,
33+
SetAuthenticationToken,
34+
RemoveAuthenticationToken,
35+
ResetAuthenticatorKey,
36+
GenerateNewTwoFactorRecoveryCodes,
37+
RedeemTwoFactorRecoveryCode,
38+
SetPasskey,
39+
RemovePasskey
40+
}

0 commit comments

Comments
 (0)