I am writing an application using OAuth. I know that I can store the authentication token using accountManager.setAuthToken , but where can I store the update token? I suppose I could use accountManager.setUserData or general settings, but they both seem hacky.
accountManager.setAuthToken
accountManager.setUserData
Suggestions?
Why not change the type and set it in the same account?
accountManager.setAuthToken(account, "SECURE", secureToken); accountManager.setAuthToken(account, "REFRESH", refreshToken);
I think you can save it as a password.
Source: https://habr.com/ru/post/1204712/More articles:EF 6.1 Scalar-Valued Feature Database - c #How to get parsing errors using DomDocument :: loadXML () - phpLibxml error handler with OOP - oopWant to change the default icon for Caret in Bootstrap3? - twitter-bootstrapUser check for checking email and phone number in contact form 7 in wordpress - emailComputing kurtosis from a numpy array? - arraysUITableViewCell jumps to the detail view when I load a cell from nib? - swiftHow can I use `str.format` directly as` __repr__`? - pythonMySQL database server shutdown: mysqld crash - linuxGuava: converting list < to list to store only current values - javaAll Articles