ameliabooking
/
src
/
Infrastructure
/
Services
/
Authentication
/
StarterSocialAuthenticationService.php
AbstractSocialAuthenticationService.php
1 year ago
StarterSocialAuthenticationService.php
1 year ago
StarterSocialAuthenticationService.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Infrastructure\Services\Authentication; |
| 4 | |
| 5 | use AmeliaBooking\Infrastructure\Common\Container; |
| 6 | |
| 7 | class StarterSocialAuthenticationService extends AbstractSocialAuthenticationService |
| 8 | { |
| 9 | /** |
| 10 | * SocialAuthenticationService constructor. |
| 11 | * |
| 12 | * @param Container $container |
| 13 | */ |
| 14 | public function __construct( |
| 15 | Container $container |
| 16 | ) { |
| 17 | $this->container = $container; |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Exchange Google Authorization Code for Access Token. |
| 22 | */ |
| 23 | public function getGoogleUserProfile($accessToken) |
| 24 | { |
| 25 | return []; |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Exchange Facebook Authorization Code for Access Token. |
| 30 | */ |
| 31 | public function getFacebookUserProfile($code, $redirectUrl) |
| 32 | { |
| 33 | return []; |
| 34 | } |
| 35 | } |
| 36 |