The service authorization page is the page that opens when this user includes your application in MyGlass. You temporarily save the userToken request parameter sent with this request (do not save it forever), and then authenticate the user by which backend you are using. From there, you will probably request the correct scope for your Google account (in this case you need to https://www.googleapis.com/auth/glass.thirdpartyauth to insert the account). After that, you can create your mirror service as usual in PHP, and then use the account collection:
$myMirrorService = new Google_Service_Mirror($myClient);
$accounts = $myMirrorService->accounts->insert($userToken, $accountType, $accountName, $postBody);
, API , APK MyGlass ( ). PHP- Mirror API PHP , , , .