protected function _actionOauthorize($context)
    {
        $data = $context->data;
        AnRequest::set('session.return', (string) $data->return);
        AnRequest::set('session.oauth', null);
        $view = $this->_mixer->getIdentifier()->name;
        $this->getAPI()->setToken(null);
        $context->response->setRedirect($this->getAPI()->getAuthorizationURL());
    }
protected function _actionOauthorize($context)
    {
        $data = $context->data;
        AnRequest::set('session.return', (string) $data->return);
        AnRequest::set('session.oauth', null);
        $view = $this->_mixer->getIdentifier()->name;
        $this->getAPI()->setToken(null);
        $context->response->setRedirect($this->getAPI()->getAuthorizationURL());
    }
protected function _actionOauthorize ( $ context ) { $ data = $ context -> data ; AnRequest :: set ( 'session.return' , ( string ) $ data -> return ) ; AnRequest :: set ( 'session.oauth' , null ) ; $ view = $ this -> _mixer -> getIdentifier ( ) -> name ; $ this -> getAPI ( ) -> setToken ( null ) ; $ context -> response -> setRedirect ( $ this -> getAPI ( ) -> getAuthorizationURL ( ) ) ; }
Authorize an oauth profile to an actor. It needs to authorize.

@param AnCommandContext $context
Authorize an oauth profile to an actor . It needs to authorize .