Exemple #1
0
            async public Task <AuthJwtLoginResponseDto> JwtLogin(string email, string password)
            {
                var response = await Auth.AuthControllerJwtLoginAsync(new AuthLoginDto(email, password));

                _config.AddDefaultHeader("Authorization", string.Format("Bearer {0}", response.token));
                return(response);
            }