Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

What's New in PI AF 2023

  • Last UpdatedNov 18, 2025
  • 5 minute read
What's New in PI AF 2023

The PI AF 2023 (3.0.0) release provides new authentication methods that allow users to connect to PI Server applications using OpenID Connect Authentication (OIDC), also known as claims-based authentication. This new OIDC authentication type adds the following capabilities to PI AF 2023:

  • New connect methods that enable an access token or client Id and secret to be used for authentication.
  • Enable a user to sign in to PI Server applications via a Web browser.
  • Added overloads to methods that previously only supported WindowsIdentity to now support a ClaimsIdentity being passed in.

This topic contains the following sections:

OSIsoft.AF Namespace

The following properties and enumeration set have been added:

The following new methods provide support for OIDC authentication:

New options for AFGlobalSettings allow control of OIDC authentication behavior:

The new constructor PISystemsPISystems(ClaimsIdentity, Boolean) allows users to set the identity of the PISystems object at creation time instead of relying only on the current user context. If a WindowsIdentity is passed in for the first argument, the default authentication mode is set to Windows Authentication. If a valid ClaimsIdentity is passed in, the default authentication mode is set to OIDC. If an access token exists on the ClaimsIdentity, that will be used for authentication. The two new properties PISystemsCurrentUserId and PISystemsCurrentUserName enable retrieval of information for the identity used at creation.

OSIsoft.AF.Asset Namespace

OSIsoft.AF.EventFrame Namespace

OSIsoft.AF.PI Namespace

The following properties have been added:

The following methods have been added to support OIDC authentication:

OSIsoft.AF.UnitsOfMeasure Namespace

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in