Closed sandorfr closed 8 years ago
This would be more secure and easier to use if the token was retrieved from VSS Endpoint. In poweshell this would be something like this :
$endpoint = Get-ServiceEndPoint -Name "SystemVssConnection" -Context $distributedTaskContext $endpoint.Authorization.Parameters.AccessToken
Node : https://github.com/Microsoft/vsts-tasks/blob/94fac0440dde0129e5317ed02bea19a93a4cd88e/Tasks/Common/nuget-task-common/Authentication.ts
Done
This would be more secure and easier to use if the token was retrieved from VSS Endpoint. In poweshell this would be something like this :
Node : https://github.com/Microsoft/vsts-tasks/blob/94fac0440dde0129e5317ed02bea19a93a4cd88e/Tasks/Common/nuget-task-common/Authentication.ts