original_string: protected function loadAccount(
          ApplicationInterface $application,
          LoginAttempt $loginAttempt
      ) {
          // run grant extension result
          return $this->grantExtensions
              ->get($loginAttempt->getData('grant_type'))
              ->grant($application, $loginAttempt)
          ;
      }
code: protected function loadAccount(
          ApplicationInterface $application,
          LoginAttempt $loginAttempt
      ) {
          // run grant extension result
          return $this->grantExtensions
              ->get($loginAttempt->getData('grant_type'))
              ->grant($application, $loginAttempt)
          ;
      }
code_tokens: protected function loadAccount ( ApplicationInterface $ application , LoginAttempt $ loginAttempt ) { // run grant extension result return $ this -> grantExtensions -> get ( $ loginAttempt -> getData ( 'grant_type' ) ) -> grant ( $ application , $ loginAttempt ) ; }
docstring: Runs grant extension to load accounts.
  
  @param ApplicationInterface $application
  @param LoginAttempt         $loginAttempt
  
  @return AccountInterface
  
  @throws \InvalidArgumentException
  @throws UnknownGrantTypeException
docstring_tokens: Runs grant extension to load accounts .