src/Majora/Component/OAuth/Server/Server.php
protected function loadAccount(
        ApplicationInterface $application,
        LoginAttempt $loginAttempt
    ) {
        // run grant extension result
        return $this->grantExtensions
            ->get($loginAttempt->getData('grant_type'))
            ->grant($application, $loginAttempt)
        ;
    }
protected function loadAccount(
        ApplicationInterface $application,
        LoginAttempt $loginAttempt
    ) {
        // run grant extension result
        return $this->grantExtensions
            ->get($loginAttempt->getData('grant_type'))
            ->grant($application, $loginAttempt)
        ;
    }
protected function loadAccount ( ApplicationInterface $ application , LoginAttempt $ loginAttempt ) { // run grant extension result return $ this -> grantExtensions -> get ( $ loginAttempt -> getData ( 'grant_type' ) ) -> grant ( $ application , $ loginAttempt ) ; }
Runs grant extension to load accounts.

@param ApplicationInterface $application
@param LoginAttempt         $loginAttempt

@return AccountInterface

@throws \InvalidArgumentException
@throws UnknownGrantTypeException
Runs grant extension to load accounts .