Beispiel #1
0
        public async Task <AuthInfoDto> Authorize(AuthorizeAccountCommand command)
        {
            var account = await queryFactory.ResolveQuery <AccountByLoginAndPasswordQuery>()
                          .Execute(command.Login, command.Password);

            return(AccountApiService.CreateAuthInfo(account));
        }