Instruction for upgrading the Onegini Android SDK to version 6.03¶
When upgrading from old SDK version to the version 6.03, several changes have to be applied in the end application:
OneginiRegistrationRequestHandler interface implementation is now mandatory and has to be passed to the SDK via
1 2 3 4 5 6 7 8 9 10 11 12
OneginiRegistrationRequestHandler#startRegistration()method is called by the SDK whenever user has to authenticate himself in the web browser. In such case you should open an external web browser using provided url.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
OneginiRegistrationCallback#handleRegistrationCallback()method has to be used to pass the Uri returned after successful authentication in web browser.
OneginiRegistrationCallback#denyRegistration() method has to be used when authentication in browser was canceled or incomplete, so the registration flow
can be aborted.
OneginiURLHandler class has been removed, because it's functionality is duplicated by the mandatory
UserClient#handleRegistrationCallback method has been removed, because it's functionality is duplicated by the mandatory