protected function decrypt($token)
    {
        // Decrypt the token if there is an Encrypter instance
        if ($this->encrypter instanceof Encrypter) {
            $token = $this->encrypter->decrypt($token);
        }
        
        // Return the unserialized token
        return @unserialize($token);
    }
protected function decrypt($token)
    {
        // Decrypt the token if there is an Encrypter instance
        if ($this->encrypter instanceof Encrypter) {
            $token = $this->encrypter->decrypt($token);
        }
        
        // Return the unserialized token
        return @unserialize($token);
    }
protected function decrypt ( $ token ) { // Decrypt the token if there is an Encrypter instance if ( $ this -> encrypter instanceof Encrypter ) { $ token = $ this -> encrypter -> decrypt ( $ token ) ; } // Return the unserialized token return @ unserialize ( $ token ) ; }
Decrypt a token using the Encrypter object and return it
If there is no Encrypter object, assume the token was stored
serialized and return the unserialized token object
@param stdClass $token OAuth token to encrypt
@return stdClass|string
Decrypt a token using the Encrypter object and return it If there is no Encrypter object assume the token was stored serialized and return the unserialized token object