|
Google Shared Contacts Manager
1.0
Semestral project for BI-ZNF
|
Presenter that handles User authentication. More...
Public Member Functions | |
| __construct (OAuthService $os) | |
| LoginPresenter constructor. More... | |
| renderDefault () | |
| Display login page with Google login button. More... | |
| actionOauth2callback () | |
| Handle callback from Google. More... | |
| actionLogout () | |
| Logout user. More... | |
| actionReauth () | |
| Redirect user to Google so he refreshes access token. More... | |
Data Fields | |
| const | PARAM_ERROR = "message" |
| const | PARAM_ERROR_CODE = "error_code" |
| const | PARAM_CODE = "code" |
Private Attributes | |
| $oauth | |
Presenter that handles User authentication.
| __construct | ( | OAuthService | $os | ) |
LoginPresenter constructor.
| OAuthService | $os |
| actionLogout | ( | ) |
Logout user.
| actionOauth2callback | ( | ) |
Handle callback from Google.
| actionReauth | ( | ) |
Redirect user to Google so he refreshes access token.
| renderDefault | ( | ) |
Display login page with Google login button.
|
private |
| const PARAM_CODE = "code" |
| const PARAM_ERROR = "message" |
| const PARAM_ERROR_CODE = "error_code" |