Send feedback on this topic.
Teradata.Client.Provider
OAuthLevel Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : OAuthLevel Property
Controls Single Sign On (SSO) access to Open Table Format (OTF) catalog and storage instances.
Syntax
'Declaration
 
Public Property OAuthLevel As Integer
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Integer
 
instance.OAuthLevel = value
 
value = instance.OAuthLevel
public int OAuthLevel {get; set;}
public:
property int OAuthLevel {
   int get();
   void set (    int value);
}
Remarks

If TdConnectionStringBuilder.Recovery is not "OFF", the Database supports Control Data and the Database's TASM Redrive setting is enabled, the OAuthLevel specifies which tokens are transmitted to the database with each request, and the database may use the tokens for SSO access to OTF catalog and storage instances. Otherwise tokens are not transmitted to the database with each request, and tokens will not be available for SSO access to OTF.

Value Description
0 (default) disables sending tokens to the database.
1 Sends the token from OIDC authentication to the database for each SQL request.
2 Sends the OAuth tokens from OAuthScopes to the database for each SQL request.
3 Sends the token from OIDC authentication and the OAuth tokens to the database for each SQL request.

Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members