|
|
@@ -18,7 +18,7 @@ public class CommonLogic
|
|
|
{
|
|
|
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(CommonLogic));
|
|
|
|
|
|
- public static String GenToken(IConfiguration configuration, String msisdn, String accountId)
|
|
|
+ public static String GenToken(IConfiguration configuration, String Email, String accountId)
|
|
|
{
|
|
|
var issuer = configuration["Jwt:Issuer"];
|
|
|
var audience = configuration["Jwt:Audience"];
|
|
|
@@ -29,7 +29,7 @@ public class CommonLogic
|
|
|
new[]
|
|
|
{
|
|
|
new Claim("Id", Guid.NewGuid().ToString()),
|
|
|
- new Claim("Msisdn", msisdn),
|
|
|
+ new Claim("Msisdn", Email),
|
|
|
new Claim("AccountId", accountId),
|
|
|
new Claim(JwtRegisteredClaimNames.Jti, Guid.NewGuid().ToString())
|
|
|
}
|