UniversityPCCare / gsx-rest-php

PHP+MySQL implementation for Apple's GSX REST API
GNU General Public License v3.0
13 stars 6 forks source link

Interoperability suggestions #1

Open bochoven opened 4 years ago

bochoven commented 4 years ago

Dear dev,

Some people are looking eagerly at your efforts so they can reinstate the collection of warranty info to be used in munkireport-php. To make things easier, maybe also for you, I would like to give some suggestions:

bochoven commented 4 years ago

Because of this, there needs to be some persistence to store the authorization token to be used over multiple requests.

Is it possible to request a new authorization token with each request? That way, you don’t need persistence

Isaac-Duarte commented 3 years ago

Hello Jesse! I'm currently in the process of writing my own implementation of the GSX API in C# for my company. I'm currently in the process working with my IT Department on getting access to the REST Api. I've created a base implementation as I do not have any idea of endpoints and such. My question is for the one-time authentication code. How is that specifically obtained? I know you mentioned users can manually retrieve the activation token from Apple Is this a text message type thing like logging into GSX? Thank you! I am just wanting to get an Idea so I can start writing some code beforehand to speed up the process.

Isaac-Duarte commented 3 years ago

Okay thanks man I appreciate your response!