As part of the MAG request lifecycle, after the device gets registered and authentication being done, to be followed are the id_Token (JWT). When trying to use OAUTH, we are in the need to retrieve the access_token and Refresh_token.
Do we have an API/policy from OTK to retrieve the access_token for Cordova- Android SDK 1.4 Platform
The Android SDK and the Cordova plugin will support retrieving access_token via MASUser.getAccessToken method in our upcoming 1.5 release. Stay tuned as it will happen soon!
Thank you for the update. Do we have any alternative for clients on 1.4 to have this for their implementation ?
I meant to say querying the OTK DB to retrieve the Access token based on the mag_identifier ?
Are you looking for Cordova interface only?
Do you have the use case from your client? The SDK hides all the complexity of the token lifecycle and management, to return the token from the SDK, your client may need to implement complicated logic to manage the token.