protected function getToken($requestToken)
    {
        $prefix = $this->options['token_prefix'];
        if (null === $prefix) {
            return $requestToken;
        }

        if (null === $requestToken) {
            return $requestToken;
        }

        $requestToken = trim(str_replace($prefix, "", $requestToken));

        return $requestToken;
    }
protected function getToken($requestToken)
    {
        $prefix = $this->options['token_prefix'];
        if (null === $prefix) {
            return $requestToken;
        }

        if (null === $requestToken) {
            return $requestToken;
        }

        $requestToken = trim(str_replace($prefix, "", $requestToken));

        return $requestToken;
    }
protected function getToken ( $ requestToken ) { $ prefix = $ this -> options [ 'token_prefix' ] ; if ( null === $ prefix ) { return $ requestToken ; } if ( null === $ requestToken ) { return $ requestToken ; } $ requestToken = trim ( str_replace ( $ prefix , "" , $ requestToken ) ) ; return $ requestToken ; }
Convert token with prefix to normal token

@param $requestToken

@return string
Convert token with prefix to normal token