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