sinopia-tfs-auth
v0.0.1
Published
sinopia authentication plugin using TFS api
Downloads
2
Readme
Sinopia TFS Auth Plugin
Authenticates the user by passing username and password to a TFS instance and querying project collections that can be accessed by the user.
The project collections are returned as groups of the user.
Installation
$ npm install sinopia
$ npm install sinopia-tfs-auth
Config
Add to your config.yaml
:
auth:
tfs-auth:
url: https://tfs.example.com/tfs
packages:
'@projectcollection/*':
access: 'projectcollection'
publish: admin
Security Considertaions
Sinopia uses HTTP Basic auth requests. Please mind the usual security considerations: you are passing your TFS credentials through this - don't do via an unencrypted channel. There is no excuse for not using HTTPS.