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



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : CodeAppendFile Property
Specifies how the CODE authentication mechanism (OIDC Device Code Flow) will return the verification URL and code required to complete authentication.
Syntax
'Declaration
 
Public Property CodeAppendFile As String
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As String
 
instance.CodeAppendFile = value
 
value = instance.CodeAppendFile
public string CodeAppendFile {get; set;}
public:
property String^ CodeAppendFile {
   String^ get();
   void set (    String^ value);
}
Remarks

This parameter is optional for the CODE mechanism and is ignored for other mechanisms. The following values are supported:

-out Prints the verification URL and code to System.Console.Out.
-err Prints the verification URL and code to System.Console.Error.
filename Appends the verification URL and code to the specified file. The file will be created if it does not exist.

The TdConnection.DeviceAuthenticationMessage event may also be used for the same purpose.

Default Value: null

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