src/Providers/SocialGrantServiceProvider.php
/**
     * Register the application services.
     *
     * @return void
     */
Register the application services.
@return void
Register the application services . @return void
public function register(): void
    {
        $this->app->resolving(AuthorizationServer::class, function (AuthorizationServer $server) {
            $server->enableGrantType(
                $this->makeSocialGrant(),
                Passport::tokensExpireIn()
            );
        });
    }
public function register ( ) : void { $ this -> app -> resolving ( AuthorizationServer :: class , function ( AuthorizationServer $ server ) { $ server -> enableGrantType ( $ this -> makeSocialGrant ( ) , Passport :: tokensExpireIn ( ) ) ; } ) ; }
Register the application services.
Register the application services .