CreateWithTokens
This method creates a new end-user security context using both a database access token and an end-user token.
Declaration
// C# public static OracleEndUserSecurityContext CreateWithTokens(string databaseAccessToken, string endUserToken)
Parameters
-
databaseAccessTokenDatabase access token string.
-
endUserTokenEnd user token string.
Return Value
A new OracleEndUserSecurityContext initialized with the provided tokens.
Exceptions
ArgumentException - Thrown if either databaseAccessToken or endUserToken is null or empty.
Other exceptions may be thrown due to an expired token or token validation errors.
Remarks
Both token input values must be non-null, non-empty, and not expired.