src/Pqb/FilemanagerLaravel/plugins/rsc/cloudfiles.php
function load_cached_credentials($auth_token, $storage_url, $cdnm_url)
    {
        if(!$storage_url || !$cdnm_url)
        {
                throw new SyntaxException("Missing Required Interface URL's!");
        }
        if(!$auth_token)
        {
                throw new SyntaxException("Missing Auth Token!");
        }

        $this->storage_url = $storage_url;
        $this->cdnm_url    = $cdnm_url;
        $this->auth_token  = $auth_token;
        return True;
    }
function load_cached_credentials($auth_token, $storage_url, $cdnm_url)
    {
        if(!$storage_url || !$cdnm_url)
        {
                throw new SyntaxException("Missing Required Interface URL's!");
        }
        if(!$auth_token)
        {
                throw new SyntaxException("Missing Auth Token!");
        }

        $this->storage_url = $storage_url;
        $this->cdnm_url    = $cdnm_url;
        $this->auth_token  = $auth_token;
        return True;
    }
function load_cached_credentials ( $ auth_token , $ storage_url , $ cdnm_url ) { if ( ! $ storage_url || ! $ cdnm_url ) { throw new SyntaxException ( "Missing Required Interface URL's!" ) ; } if ( ! $ auth_token ) { throw new SyntaxException ( "Missing Auth Token!" ) ; } $ this -> storage_url = $ storage_url ; $ this -> cdnm_url = $ cdnm_url ; $ this -> auth_token = $ auth_token ; return True ; }
Use Cached Token and Storage URL's rather then grabbing from the Auth System

Example:
<code>
#Create an Auth instance
$auth = new CF_Authentication();
#Pass Cached URL's and Token as Args
$auth->load_cached_credentials("auth_token", "storage_url", "cdn_management_url");
</code>

@param string $auth_token A Cloud Files Auth Token (Required)
@param string $storage_url The Cloud Files Storage URL (Required)
@param string $cdnm_url CDN Management URL (Required)
@return boolean <kbd>True</kbd> if successful
@throws SyntaxException If any of the Required Arguments are missing
Use Cached Token and Storage URL s rather then grabbing from the Auth System