OracleAccessToken(char, char)

This constructor creates an OracleAccessToken object with the signature token and private key provided by the application. Only Signature token type will be supported through this class.

Declaration

// C#
public OracleAccessToken(char[] dbToken, char[] privateKey);

Exceptions

  • ArgumentNullException is raised if any parameters are passed in as null.

  • Argument exception is thrown if the provided token is invalid.

Description

The char[] passed by the application for the signature token and private key will be cleared by ODP.NET. Applications should not depend on these char[] once this constructor is called.