Repository navigation
Expand file tree
/
Copy pathExploreIdentity.cs
More file actions
64 lines (54 loc) · 2.09 KB
/
Copy pathExploreIdentity.cs
File metadata and controls
64 lines (54 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using Microsoft.AspNetCore.Identity;
using Security.WebAppLib.IdentityCore;
namespace Security.WebAppLib.Example
{
public class ExploreIdentity
{
#region Init
IUserStore<IMyUser> _userStore;
IRoleStore<IMyRole> _roleStore;
UserManager<IMyUser> _userManager;
RoleManager<IMyRole> _roleManager;
/// <summary>
/// Services available from DI container
/// </summary>
public ExploreIdentity(
IUserStore<IMyUser> userStore,
IRoleStore<IMyRole> roleStore,
UserManager<IMyUser> userManager,
RoleManager<IMyRole> roleManager
)
{
this._userStore = userStore;
this._roleStore = roleStore;
this._userManager = userManager;
this._roleManager = roleManager;
}
#endregion
#region UserManager
public void ExporeUserManager()
{
ILookupNormalizer o = _userManager.KeyNormalizer;
IdentityOptions o2 = _userManager.Options;
IPasswordHasher<IMyUser> o3 = _userManager.PasswordHasher;
IList<IPasswordValidator<IMyUser>> o4 = _userManager.PasswordValidators;
IList<IUserValidator<IMyUser>> o5 = _userManager.UserValidators;
bool b = _userManager.SupportsQueryableUsers;
b = _userManager.SupportsQueryableUsers;
b = _userManager.SupportsUserAuthenticationTokens;
b = _userManager.SupportsUserAuthenticatorKey;
b = _userManager.SupportsUserClaim;
b = _userManager.SupportsUserEmail;
b = _userManager.SupportsUserLockout;
b = _userManager.SupportsUserLogin;
b = _userManager.SupportsUserPasskey;
b = _userManager.SupportsUserPassword;
b = _userManager.SupportsUserPhoneNumber;
b = _userManager.SupportsUserRole;
b = _userManager.SupportsUserSecurityStamp;
b = _userManager.SupportsUserTwoFactor;
b = _userManager.SupportsUserTwoFactorRecoveryCodes;
}
#endregion
}
}