新增
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Overtrue\Socialite\Contracts;
|
||||
|
||||
const ABNF_APP_ID = 'app_id';
|
||||
const ABNF_APP_SECRET = 'app_secret';
|
||||
const ABNF_OPEN_ID = 'open_id';
|
||||
const ABNF_TOKEN = 'token';
|
||||
|
||||
interface FactoryInterface
|
||||
{
|
||||
public function config(\Overtrue\Socialite\Config $config): self;
|
||||
|
||||
public function create(string $name): ProviderInterface;
|
||||
|
||||
public function getResolvedProviders(): array;
|
||||
|
||||
public function buildProvider(string $provider, array $config): ProviderInterface;
|
||||
}
|
||||
Reference in New Issue
Block a user