TokenAuthentication
This property sets the value for TOKEN_AUTH parameter at the process level. The possible values for this property include OracleTokenAuth.OciToken, OracleTokenAuth.Disabled, OracleTokenAuth.OAuth and so on.
Declaration
// C#
public static OracleTokenAuth TokenAuthentication { get; set; }
Table 6-38 OracleTokenAuth Members
| Member Name | Description |
|---|---|
|
|
Default value. Token authentication is |
OAuth |
Token authentication enabled for Azure Active Directory. |
|
|
Token authentication using Not available in ODP.NET, Unmanaged Driver |
|
|
Token authentication using Not available in ODP.NET, Unmanaged Driver |
|
|
Token authentication using Not available in ODP.NET, Unmanaged Driver |
|
|
Token authentication using Not available in ODP.NET, Unmanaged Driver |
|
|
Token authentication using the most appropriate method depending on the application environment. ODP.NET first attempts to retrieve the token using the OCI API key. If that fails, then ODP.NET checks whether it is in a Cloud Shell environment to attempt to get the token using delegation token authentication flow. Lastly, it attempts to use the instance principal authentication flow. Not available in ODP.NET, Unmanaged Driver |
|
|
Token authentication is enabled for Oracle Identity and Access Management. |