question

adamd avatar image
adamd asked Bryanne Vega answered

CloverAuth Authenticate deprecated?

We have noticed that the method

 CloverAuth.authenticate(Context, Account);

Has been deprecated. Any reason for this? Also what is the correct auth method that we are supposed to use now at targetSdkVersion = 25?

OAuth
1 comment
10 |2000

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

Dan avatar image Dan commented ·

They must be trying to move off of the Account based mechanism due to the Oreo changes. Hopefully this goes well because we've had a couple of pretty big issues with these functions where I have been forced to use the "forceValidateToken" constructor in order to get legitimate tokens

0 Likes 0 ·

1 Answer

·
Bryanne Vega avatar image
Bryanne Vega answered

Your IDE should highlight the recommended functions/method.


Just do the following:


CloverAuth.authenticate(Context);
10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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