The steps in the login process are:
- FileDisplayActivity is created.
addAccount(...) method from AccountAuthenticator is called, which starts AuthenticatorActivity.
- User introduces username and password and press login button.
- AuthenticatorAsyncTask creates two clients (with no accounts) using
OwnCloudClientFactory.createOwnCloudClient(...) and perform ExistenceCheckRemoteOperation and GetRemoteUserInfoOperation
- AuthenticatorActivity waits for AuthenticatorAsyncTask response and creates an Account explicitly using AccountManager if everything worked fine.
TASKS
PR
The steps in the login process are:
addAccount(...)method from AccountAuthenticator is called, which starts AuthenticatorActivity.OwnCloudClientFactory.createOwnCloudClient(...)and perform ExistenceCheckRemoteOperation and GetRemoteUserInfoOperationTASKS
new_arch/2634-basic_authintonew_arch/loginPR