Open Source Samples
The following sample projects demonstrate how to interact with the APIs to authenticate, list available resources, and generate an ICA file that you can then pass to Citrix Workspace app to handle the connection.
Sample web application
Standalone web-based client that allows the user to login via the Citrix Authorization server (and your configured Identity Provider), obtain an OAuth Access and Refresh Token, and call the APIs.
Code can be found here.
Sample single-page web application
SPA that shows how to interact with the APIs to build a functional web portal. It is a pure Javascript implementation that is hosted by a C# ASP .NET server.
Includes a sample Token Management Service backend for handling tokens.
Code can be found here.
Sample native application
Windows Native Client that shows how to interact with the APIs. It is written using the C#'s WPF framework, with a simple UI to facilitate the actions required to login and begin calling APIs.
Includes a sample Token Management Service backend for handling tokens.
Code can be found here.