CBPRestActivity :: extractToken: Bitrix method

      
<?php 
//  CBPRestActivity :: extractToken()
//  /dist/bitrix/modules/bizproc/classes/general/restactivity.php:718

    
public static function extractToken($token)
    {
        
$signer = new \Bitrix\Main\Security\Sign\Signer;

        try
        {
            
$unsigned $signer->unsign($tokenself::TOKEN_SALT);
            
$result explode('|'$unsigned);
        }
        catch (\
Exception $e)
        {
            
$result false;
        }

        return 
$result;
    }