7.11 PERSISTENT_AUTH_ENABLED Function

This function returns whether persistent authentication is enabled on instance level.

Syntax

APEX_AUTHENTICATION.PERSISTENT_AUTH_ENABLED
    return BOOLEAN;

Parameters

None.

Example

The following example uses PERSISTENT_AUTH_ENABLED to show a notification.

begin
     if apex_authentication.persistent_auth_enabled then
         sys.htp.p('Persistant Authentication enabled');
     else
         sys.htp.p('Persisten Auhentication disabled');
     end if;
end;