src/PassportServiceProvider.php
protected function makeRefreshTokenGrant()
    {
        $repository = $this->app->make(RefreshTokenRepository::class);

        return tap(new RefreshTokenGrant($repository), function ($grant) {
            $grant->setRefreshTokenTTL(Passport::refreshTokensExpireIn());
        });
    }
protected function makeRefreshTokenGrant()
    {
        $repository = $this->app->make(RefreshTokenRepository::class);

        return tap(new RefreshTokenGrant($repository), function ($grant) {
            $grant->setRefreshTokenTTL(Passport::refreshTokensExpireIn());
        });
    }
protected function makeRefreshTokenGrant ( ) { $ repository = $ this -> app -> make ( RefreshTokenRepository :: class ) ; return tap ( new RefreshTokenGrant ( $ repository ) , function ( $ grant ) { $ grant -> setRefreshTokenTTL ( Passport :: refreshTokensExpireIn ( ) ) ; } ) ; }
Create and configure a Refresh Token grant instance.

@return \League\OAuth2\Server\Grant\RefreshTokenGrant
Create and configure a Refresh Token grant instance .