original_string: public function afterAction($action, $result)
      {
          if (Yii::$app->user->isGuest) {
              return $result;
          } else {
              return $this->finishAuthorization();
          }
      }
code: public function afterAction($action, $result)
      {
          if (Yii::$app->user->isGuest) {
              return $result;
          } else {
              return $this->finishAuthorization();
          }
      }
code_tokens: public function afterAction ( $ action , $ result ) { if ( Yii :: $ app -> user -> isGuest ) { return $ result ; } else { return $ this -> finishAuthorization ( ) ; } }
docstring: If user is logged on, do oauth login immediatly,
  continue authorization in the another case
  @param \yii\base\Action $action
  @param mixed $result
  @return mixed
  @throws Exception
docstring_tokens: If user is logged on do oauth login immediatly continue authorization in the another case