示例#1
0
 public LoginService(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, ISecurityServiceFactory securityServiceFactory, IUserService userService, IEmailSender emailSender)
 {
     SecurityServiceFactory = securityServiceFactory;
     UserManager            = userManager;
     RoleManager            = roleManager;
     UserService            = userService;
     EmailSender            = emailSender;
 }
示例#2
0
 public RefreshTokenService(ISecurityServiceFactory securityServiceFactory)
 {
     SecurityServiceFactory = securityServiceFactory;
 }
示例#3
0
 public JWTService(ISecurityServiceFactory securityServiceFactory, JwtConfiguration _jwtConfig)
 {
     jwtConfig = _jwtConfig;
     SecurityServiceFactory = securityServiceFactory;
 }