Documentation

Whoami
in package
Uses HasAuthenticatedUser, HasUserModel

Override the original class because that always expects an email & password combination Shoutz0r however uses a username & password combination

Table of Contents

$authFactory  : Factory
__construct()  : mixed
__invoke()  : array<string|int, string>
getAuthFactory()  : Factory

Properties

$authFactory

protected Factory $authFactory

Methods

__construct()

public __construct(Factory $authFactory) : mixed
Parameters
$authFactory : Factory
Return values
mixed

__invoke()

public __invoke(mixed $_, array<string|int, mixed> $args, GraphQLContext $context, ResolveInfo $resolveInfo) : array<string|int, string>
Parameters
$_ : mixed
$args : array<string|int, mixed>
$context : GraphQLContext
$resolveInfo : ResolveInfo
Return values
array<string|int, string>

getAuthFactory()

protected getAuthFactory() : Factory
Return values
Factory

Search results