datatable.directory codebase
https://datatable.directory/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
487 B
13 lines
487 B
<?php namespace AdamWathan\EloquentOAuth;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use SocialNorm\ProviderUser;
|
|
|
|
interface IdentityStore
|
|
{
|
|
public function getByProvider(string $provider, ProviderUser $providerUser);
|
|
public function flush(Model $user, string $provider);
|
|
public function getByEmail(ProviderUser $providerUser);
|
|
public function store(OAuthIdentity $identity);
|
|
public function userExists(string $provider, ProviderUser $providerUser, bool $allowByEmail);
|
|
}
|
|
|