function assertToken($tokenStr)
    {
        if (false === $token = $this->_accessTokens->findByIdentifier((string) $tokenStr))
            throw new exOAuthAccessDenied;


        $accessToken = new AccessTokenEntity(
            new HydrateGetters($token) );

        return $accessToken;
    }
function assertToken($tokenStr)
    {
        if (false === $token = $this->_accessTokens->findByIdentifier((string) $tokenStr))
            throw new exOAuthAccessDenied;


        $accessToken = new AccessTokenEntity(
            new HydrateGetters($token) );

        return $accessToken;
    }
function assertToken ( $ tokenStr ) { if ( false === $ token = $ this -> _accessTokens -> findByIdentifier ( ( string ) $ tokenStr ) ) throw new exOAuthAccessDenied ; $ accessToken = new AccessTokenEntity ( new HydrateGetters ( $ token ) ) ; return $ accessToken ; }
Validate Authorize Token With OAuth Server

note: implement grant extension http request

@param string $tokenStr

@return iAccessTokenEntity
@throws exOAuthAccessDenied Access Denied
Validate Authorize Token With OAuth Server