예제 #1
0
        public async Task <string> AuthenticateUserAsync(LoginViewModel model)
        {
            await _authenticationService.AuthenticateUserAsync(model);

            return(await _tokenGenerator.GenerateForUserAsync(model.Email));
        }