D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
t
/
a
/
t
/
tattooscyy
/
www
/
public
/
plugins
/
cropper
/
css
/
canvas
/
Filename :
Contracts.tar
back
Copy
User.php 0000604 00000001250 15225263710 0006170 0 ustar 00 <?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 */ public function getNickname(); /** * Get the full name of the user. * * @return string */ public function getName(); /** * Get the e-mail address of the user. * * @return string */ public function getEmail(); /** * Get the avatar / image URL for the user. * * @return string */ public function getAvatar(); } Factory.php 0000604 00000000411 15225263710 0006657 0 ustar 00 <?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); } Provider.php 0000604 00000000643 15225263710 0007051 0 ustar 00 <?php namespace Laravel\Socialite\Contracts; interface Provider { /** * Redirect the user to the authentication page for the provider. * * @return \Symfony\Component\HttpFoundation\RedirectResponse */ public function redirect(); /** * Get the User instance for the authenticated user. * * @return \Laravel\Socialite\Contracts\User */ public function user(); }