OciTokenAuthentication Class

This class accepts configuration parameters for OCI IAM SSO integration with ODP.NET. The class is part of the Oracle.ManagedDataAccess.Oci NuGet package. Applications provide the OCI IAM values in the class properties to connect. Once ODP.NET initiates opening the connection, the class instance is marked as read-only to prevent further modification during the pool’s lifetime.

If customers use the same instance for another connection open, this new connection will be opened in the same connection pool as the earlier opened connection.

All the OciTokenAuthentication class properties should not be set to null nor empty values. Those null/empty values will be ignored, though no error is thrown.

Class Inheritance

OracleInternal.Common.AbstractTokenAuthentication

Declaration

// C#
public sealed class OciTokenAuthentication : AbstractTokenAuthentication

Requirements

Provider ODP.NET, Managed Driver ODP.NET Core
Assembly Oracle.ManagedDataAccess.dll Oracle.ManagedDataAccess.dll
Namespace Oracle.ManagedDataAccess.Client Oracle.ManagedDataAccess.Client
.NET Framework See System Requirements -
.NET (Core) - See System Requirements

See Also: