call loginBegin -> ask third party server -> call loginFinish -> handle authorization result
- isAuthorized
- isRegisted
- Gen return url
- Ask third party remote server
- Third party server back return result to return url
- Check third party server run result
- if succcess redirect to success page else go to error page
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
- vim composer.json
{
"require": {
"pmvc-plugin/auth": "dev-master"
}
}
- php composer.phar install
- php composer.phar require pmvc-plugin/auth