コード例 #1
0
        public async Task <AuthenticateUserVM> Handle(AuthenticateCommand request, CancellationToken cancellationToken)
        {
            var token = await _signInManager.Authenticate(request.UserName, request.Password);

            return(new AuthenticateUserVM(request.UserName, token));
        }