示例#1
0
 public JwtTokenProvider(TokenParametres tokenParametres)
 {
     _tokenParametres = tokenParametres;
     _tokenHandler    = new JwtSecurityTokenHandler();
 }
 public AccountController(UserManager <Users> userManager, TokenParametres tokenParametres)
 {
     _userManager     = userManager;
     _tokenParametres = tokenParametres;
 }