Files
zyt/server/vendor/overtrue/socialite/src/Contracts/FactoryInterface.php
T
2026-05-11 17:49:38 +08:00

20 lines
480 B
PHP
Executable File

<?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;
}