question

Drew_Clover avatar image
Drew_Clover asked ·

Clover Tokens and java sdk

Hi, Im building a clovers java sdk for connecting to inventory/orders ect. Do i need to provide some kind of token? Like i would if using the API
Cheers
Clover Android SDK
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Chanel avatar image
Chanel answered ·
Apps that run directly on a Clover device using our SDK do not require a separate access token. By signing your APK and uploading to Clover's system, this ensures that your app has the correct permissions without needing an additional token.
Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sanjay avatar image
sanjay answered ·
Hi @Drew_Clover,

Yes, you should need to generate access token with the help of SDK and send that value with rest API.

Like as in android you can get access token from following code:

CloverAuth.AuthResult authResult = CloverAuth.authenticate(activity, mAccount);
access_token=authResult.authToken

Also, you can get access token with the help of OAuth 2.0 process, to get more information please visit the following link:
https://docs.clover.com/clover-platform/docs/using...

The following link will be very helpful to find Clover Web APIs:
https://docs.clover.com/clover-platform/reference

Thank you.
Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community