Exemple #1
0
 public HttpResponseMessage GetAllStores1()
 {
     return(Request.CreateResponse(HttpStatusCode.Accepted, JWT_Configuration.GenerateToken("shriyansh", 20)));
 }
 public string AuthenticateUser(Login login)
 {
     return(JWT_Configuration.GenerateToken(login.EmailId, 20));
 }