src/SocialPassportServiceProvider.php
/**
     * Create and configure a Social grant instance.
     *
     * @return SocialGrant
     *
     * @throws BindingResolutionException
     */
Create and configure a Social grant instance.


Create and configure a Social grant instance .
protected function makeSocialGrant(): SocialGrant
    {
        $grant = new SocialGrant(
            $this->app->make(SocialUserResolverInterface::class),
            $this->app->make(RefreshTokenRepository::class)
        );
        $grant->setRefreshTokenTTL(Passport::refreshTokensExpireIn());
        return $grant;
    }
protected function makeSocialGrant ( ) : SocialGrant { $ grant = new SocialGrant ( $ this -> app -> make ( SocialUserResolverInterface :: class ) , $ this -> app -> make ( RefreshTokenRepository :: class ) ) ; $ grant -> setRefreshTokenTTL ( Passport :: refreshTokensExpireIn ( ) ) ; return $ grant ; }
Create and configure a Social grant instance.
Create and configure a Social grant instance .