falodowntown.blogg.se

K9mail oauth2
K9mail oauth2









It may or may not be the same for different providers. But much of it is Google's implementation. Some of this is common across anyone who uses XOAuth2. Use the refresh code to periodically refresh the access code (1 hour for Google).Use the action code to login (this is quite similar to CRAM_MD5).Store the refresh code and action codes as their pseudo-passwords.Implement a follow-on screen to accept the verification code and generate an access code and refresh code.Implement a screen for users to allow K-9 access to their email (or just a link to an external browser window).Obtain a client ID and 'Secret' for K-9 (which will have to be in the APK so may as well be in the repo).Implementing XOAuth2 for Google will require us to:











K9mail oauth2