<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
renepardon / lighthouse-graphql-passport-auth example snippets
/*
|--------------------------------------------------------------------------
| GraphQL schema
|--------------------------------------------------------------------------
|
| File path of the GraphQL schema to be used, defaults to null so it uses
| the default location
|
*/
'schema' => base_path('graphql/auth.graphql')
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Renepardon\LighthouseGraphQLPassport\HasLoggedInTokens;
use Renepardon\LighthouseGraphQLPassport\MustVerifyEmailGraphQL;
class User extends Authenticatable implements MustVerifyEmail
{
use Notifiable;
use HasApiTokens;
use HasSocialLogin;
use MustVerifyEmailGraphQL;
use HasLoggedInTokens;
}
use Renepardon\LighthouseGraphQLPassport\HasSocialLogin;
class User extends Authenticatable
{
use Notifiable;
use HasApiTokens;
use HasSocialLogin;
}