13.7.1.5 pyqIsTokenSet Function
The pyqIsTokenSet function returns whether the
authorization token is set or not.
Syntax
FUNCTION SYS.pyqIsTokenSet() RETURN BOOLEAN
Example
The following example shows how to use the pyqSetAuthToken procedure
and the pyqIsTokenSet function.
DECLARE
is_set BOOLEAN;
BEGIN
pyqSetAuthToken('<access token>');
is_set := pyqIsTokenSet();
IF (is_set) THEN
DBMS_OUTPUT.put_line ('token is set');
END IF;
END;
/
Parent topic: Access and Authorization Procedures and Functions