src/PassportServiceProvider.php
protected function buildAuthCodeGrant()
    {
        return new AuthCodeGrant(
            $this->app->make(Bridge\AuthCodeRepository::class),
            $this->app->make(Bridge\RefreshTokenRepository::class),
            new DateInterval('PT10M')
        );
    }
protected function buildAuthCodeGrant()
    {
        return new AuthCodeGrant(
            $this->app->make(Bridge\AuthCodeRepository::class),
            $this->app->make(Bridge\RefreshTokenRepository::class),
            new DateInterval('PT10M')
        );
    }
protected function buildAuthCodeGrant ( ) { return new AuthCodeGrant ( $ this -> app -> make ( Bridge \ AuthCodeRepository :: class ) , $ this -> app -> make ( Bridge \ RefreshTokenRepository :: class ) , new DateInterval ( 'PT10M' ) ) ; }
Build the Auth Code grant instance.

@return \League\OAuth2\Server\Grant\AuthCodeGrant
Build the Auth Code grant instance .