CreateWithNewEndUserToken
This method creates a new end-user security context with a replacement end-user token.
Declaration
// C#
public OracleEndUserSecurityContext CreateWithNewEndUserToken(string endUserToken)Parameters
-
endUserTokenNew end-user token string.
Return Value
A new OracleEndUserSecurityContext with the updated end user token.
Exceptions
ArgumentException - Thrown if endUserToken is null or empty.
Other exceptions may be thrown due to an expired token or token validation errors.
Remarks
This method replaces the existing end-user token with the new value while preserving the existing database access token, data roles, and attributes.
The token input value must be non-null, non-empty, and not expired.