| 1 | <?php namespace AdamWathan\EloquentOAuth; |
||
| 3 | class OAuthManager |
||
| 4 | { |
||
| 5 | protected $redirect; |
||
| 6 | protected $authenticator; |
||
| 7 | protected $socialnorm; |
||
| 8 | |||
| 9 | public function __construct($redirect, $authenticator, $socialnorm) |
||
| 15 | |||
| 16 | public function authorize($providerAlias) |
||
| 20 | |||
| 21 | public function login($providerAlias, $callback = null) |
||
| 26 | |||
| 27 | public function loginForever($providerAlias, $callback = null) |
||
| 32 | |||
| 33 | public function registerProvider($alias, $provider) |
||
| 37 | } |
||
| 38 |