devopshq / tfs

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

a personal access token (pat) can be used instead of user/password #59

Closed ondrno closed 5 years ago

ondrno commented 5 years ago

implemented #9 : add a new parameter "pat" (Personal Access Token) to the TFSAPI and TFSHTTPClient constructor; if a pat is given the session header is extended by 'Authorization: Basic XXX' whereas XXX is the pat encoded as base64