public function getTokenData()
    {
        if(!$this->has('token')) {
            throw new MissingTokenException(sprintf('No token available in \''.Config::get('forrest.storage.type').'\' storage'));
        }

        $token = $this->get('token');

        return Crypt::decrypt($token);
    }
public function getTokenData()
    {
        if(!$this->has('token')) {
            throw new MissingTokenException(sprintf('No token available in \''.Config::get('forrest.storage.type').'\' storage'));
        }

        $token = $this->get('token');

        return Crypt::decrypt($token);
    }
public function getTokenData ( ) { if ( ! $ this -> has ( 'token' ) ) { throw new MissingTokenException ( sprintf ( 'No token available in \'' . Config :: get ( 'forrest.storage.type' ) . '\' storage' ) ) ; } $ token = $ this -> get ( 'token' ) ; return Crypt :: decrypt ( $ token ) ; }
Get token from the session and decrypt it.

@return mixed
Get token from the session and decrypt it .