public void Can_authenticate_using_JWT_with_IHasBearerToken()
        {
            var authClient = GetClientWithBasicAuthCredentials();

            var authResponse = authClient.Post(new Authenticate());

            Assert.That(authResponse.BearerToken, Is.Not.Null);

            var client  = GetClient();
            var request = new HelloJwt {
                BearerToken = authResponse.BearerToken, Name = "IHasBearerToken"
            };
            var response = client.Get(request);

            Assert.That(response.Result, Is.EqualTo("Hello, IHasBearerToken"));
        }
 public object Any(HelloJwt request)
 {
     return(new HelloJwtResponse {
         Result = $"Hello, {request.Name}"
     });
 }