示例#1
0
 public string CreateToken(User user)
 {
     return(_tokenHandler.Generate(_appSettings.Secret, user));
 }