Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace Arcanesoft\Auth\Http\Routes\Front; |
||
23 | public function map(Registrar $router) |
||
24 | { |
||
25 | $this->group([ |
||
26 | 'prefix' => 'social/{social_provider}', |
||
27 | 'as' => 'social.', |
||
28 | ], function () { |
||
29 | $this->get('/', 'SocialAuthController@redirectToProvider') |
||
30 | ->name('redirect'); // auth::social.redirect |
||
31 | |||
32 | $this->get('/', 'SocialAuthController@handleCallback') |
||
33 | ->name('handle'); // auth::social.handle |
||
34 | }); |
||
35 | } |
||
36 | } |
||
37 |