SPWebApplication.UseClaimsAuthentication property
SharePoint 2013
Gets or sets a Boolean value that indicates whether claims authentication is enabled.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)