entraid integration completa with docs

This commit is contained in:
2025-09-19 09:31:20 +02:00
parent baf3f6da32
commit 16e00f8573
18 changed files with 826 additions and 67 deletions
+15
View File
@@ -17,6 +17,7 @@ use Laravel\Socialite\Two\LinkedInProvider;
use Laravel\Socialite\Two\SlackOpenIdProvider;
use Laravel\Socialite\Two\SlackProvider;
use Laravel\Socialite\Two\TwitterProvider as TwitterOAuth2Provider;
use Laravel\Socialite\Two\XProvider;
use League\OAuth1\Client\Server\Twitter as TwitterServer;
class SocialiteManager extends Manager implements Contracts\Factory
@@ -171,6 +172,20 @@ class SocialiteManager extends Manager implements Contracts\Factory
);
}
/**
* Create an instance of the specified driver.
*
* @return \Laravel\Socialite\Two\AbstractProvider
*/
protected function createXDriver()
{
$config = $this->config->get('services.x') ?? $this->config->get('services.x-oauth-2');
return $this->buildProvider(
XProvider::class, $config
);
}
/**
* Create an instance of the specified driver.
*