devopshq / tfs

Microsoft TFS API Python client
https://devopshq.github.io/tfs/
MIT License
110 stars 28 forks source link

Implement PersonalAccessToken Authorization #9

Closed allburov closed 5 years ago

allburov commented 7 years ago

Default on-prem installations of TFS 2017 dont enable basic auth. For many requesting enabling of basic auth is a cross-departmental barrier. It would seem for the access token you would have something like: curl -u {username}[:{personalaccesstoken}] https://{server}:8080/DefaultCollection/_apis/projects?api-version=2.0 or adding the header: Authorization: Basic <BASE64 personalaccesstoken> According to the API docs

allburov commented 5 years ago

@