microsoft / azure-devops-dotnet-samples

.NET/C# samples for integrating with Azure DevOps Services and Azure DevOps Server
https://docs.microsoft.com/azure/devops/integrate
MIT License
522 stars 519 forks source link

Added sample for token administration #152

Open kigunda opened 6 years ago

kigunda commented 6 years ago

The TokenAdmin sample shows organization administrators how they can use the VSTS REST APIs to find and revoke personal access tokens (PATs) for users in their organization. It also shows how to create revocation rules that prevent access through other OAuth credentials, such as self-describing session tokens. The sample is written using our C# client libraries, but is commented with the HTTP calls that administrators can make to perform these same operations directly over the wire.

The methods in this sample, and the endpoints they cover are:

msftclas commented 6 years ago

CLA assistant check
All CLA requirements met.

vtbassmatt commented 4 years ago

If this is still relevant, can you retarget it to main?