CreativeSDK / android-getting-started-samples

Getting started guides and sample code for the Adobe Creative SDK for Android
63 stars 33 forks source link

feature request #41

Open npomfret opened 7 years ago

npomfret commented 7 years ago

Could the authentication mechanism be changed so that the API is more like the iOS implementation?

Making my MainApplication implement IAdobeAuthClientCredentials feels like a really weird way of doing it. The iOS mechanism feels (a method call) is much nicer... or is there another way already?

For example:

AdobeCSDKFoundation.initializeCSDKFoundation(context);
AdobeCSDKFoundation.authorizeCSDKFoundation(clientId, clientSecret, redirectUrl, otherStuff);