15.1 CLEAR_TOKENS Procedure

This procedure clears all acquired tokens for the provided credential.

Only useful for OAuth-based flows.

Syntax

PROCEDURE CLEAR_TOKENS( p_credential_static_id IN VARCHAR2 );

Parameters

Parameters Description
p_credential_static_id The credential static ID.

Example

The following example clears all obtained tokens for the credential OAuth Login.

BEGIN
    apex_credential.clear_tokens(
    p_credential_static_id => 'OAuth Login' );
END;