A Web Services API client can authenticate by using a token provided by the vCenter Single Sign-On Service. This example shows C# client code for dealing with token authentication.
The example program uses the following elements and general steps:
- LoginByTokenSample Constructor in a C# Web Services SDK Client
- Security Policies in a C# Web Services SDK Client
- Custom Security Assertion in a C# Web Services SDK Client
- Custom Output Filter for a C# Web Services SDK Client
- Login for a C# Web Services SDK Client
- Session Handling in C# Web Services Client