public async Task <IActionResult> GenerateJwtTokenAsync([FromBody] GenerateJwtTokenRequestDto model) { var claims = await jwtTokenService.GenerateClaimsAsync(new List <Jwt.Models.ClaimDto>() { new Jwt.Models.ClaimDto() { Type = "Email", Value = model.Email.Trim() } }); var jwtToken = await jwtTokenService.GenerateJwtTokenAsync(claims, Jwt.Models.Algorithms.HmacSha256Signature); return(Ok(jwtToken)); }