Open Source Samples

The following sample projects demonstrate how to interact with the Unified Workspace API 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 for the Citrix(R) Unified Workspace API

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 Workspace APIs.

Code can be found here.

Sample single-page application for the Citrix(R) Unified Workspace API

SPA that shows how to interact with the Unified Workspace 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 for the Citrix(R) Unified Workspace API

Windows Native Client that shows how to interact with the Unified Workspace APIs. It is written using the C#’s WPF framework, with a simple UI to facilitate the actions required to login and begin calling Workspace APIs.

Includes a sample Token Management Service backend for handling tokens.

Code can be found here.

Open Source Samples