cloudfoundry-attic / cf-dotnet-sdk

Cloud Foundry .NET SDK
Other
18 stars 13 forks source link

don't add authentication header if client is not logged in #65

Closed mihaibuzgau closed 9 years ago

mihaibuzgau commented 9 years ago

Currently, if the client is not logged in, we add the Authentication header with a "bearer " value. This pull request checks to see if there is a token, if not it will not add the Authentication header to the request. Fixes https://github.com/cloudfoundry-incubator/cf-dotnet-sdk/issues/64

hcf-bot commented 9 years ago

Refer to this link for build results (access rights to CI server needed): https://jenkins.paas.hpcloud.net/job/als-cf-dotnet-sdk-babysitter/177/ Test PASSed.

viovanov commented 9 years ago

:+1: