RefreshAccessToken Event

This event is triggered 60 seconds before the database token expiration time so that application can provide a refreshed token.

Declaration

// C#
public event OracleRefreshAccessTokenEventHandler RefreshAccessToken;

Description

The event handler receives an OracleRefreshAccessTokenEventArgs object in which the application should set the refreshed database token and private key, or access token. The event handler is not called unless a connection has been made with the token, and the token has been found to be valid.