* google oauth * fix lint * cleanup debug * Oauth changes, alert message, email validation * fix exception and inline return condition * fix google oauth * UI fixes * fix provider user --------- Co-authored-by: Julien Nahum <julien@nahum.net>
14 lines
299 B
PHP
14 lines
299 B
PHP
<?php
|
|
|
|
namespace App\Integrations\OAuth\Drivers\Contracts;
|
|
|
|
use Laravel\Socialite\Contracts\User;
|
|
|
|
interface OAuthDriver
|
|
{
|
|
public function getRedirectUrl(): string;
|
|
public function setRedirectUrl($url): self;
|
|
public function getUser(): User;
|
|
public function canCreateUser(): bool;
|
|
}
|