Subiendo proyecto completo sin restricciones de git ignore

This commit is contained in:
Jose Sanchez
2023-08-17 11:44:02 -04:00
parent a0d4f5ba3b
commit 20f1c60600
19921 changed files with 2509159 additions and 45 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace Laravel\Socialite\Contracts;
interface Factory
{
/**
* Get an OAuth provider implementation.
*
* @param string $driver
* @return \Laravel\Socialite\Contracts\Provider
*/
public function driver($driver = null);
}

View File

@@ -0,0 +1,20 @@
<?php
namespace Laravel\Socialite\Contracts;
interface Provider
{
/**
* Redirect the user to the authentication page for the provider.
*
* @return \Symfony\Component\HttpFoundation\RedirectResponse|\Illuminate\Http\RedirectResponse
*/
public function redirect();
/**
* Get the User instance for the authenticated user.
*
* @return \Laravel\Socialite\Contracts\User
*/
public function user();
}

View File

@@ -0,0 +1,41 @@
<?php
namespace Laravel\Socialite\Contracts;
interface User
{
/**
* Get the unique identifier for the user.
*
* @return string
*/
public function getId();
/**
* Get the nickname / username for the user.
*
* @return string|null
*/
public function getNickname();
/**
* Get the full name of the user.
*
* @return string|null
*/
public function getName();
/**
* Get the e-mail address of the user.
*
* @return string|null
*/
public function getEmail();
/**
* Get the avatar / image URL for the user.
*
* @return string|null
*/
public function getAvatar();
}