Conditions | 4 |
Paths | 5 |
Total Lines | 22 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Returns the Gmail user email |
||
27 | * |
||
28 | * @return \Google_Service_Gmail_Profile |
||
29 | */ |
||
30 | public function user() |
||
31 | { |
||
32 | return $this->config('email'); |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Gets the URL to authorize the user |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getAuthUrl() |
||
41 | { |
||
42 | return $this->createAuthUrl(); |
||
43 | } |
||
44 | |||
45 | public function redirect() |
||
56 | } |