예제 #1
0
 public async Task <IActionResult> Refresh([FromBody] RefreshTokenRequestDto request)
 {
     return(Ok(await _mediator.Send(new TokenRefreshCommand(request.RefreshToken))));
 }
        public async Task <IActionResult> Refresh([FromBody] RefreshTokenRequestDto request)
        {
            var authResult = await AccountService.RefreshTokenAsync(request.Token, request.RefreshToken);

            return(GetResponseFrom(authResult));
        }