()
| 240 | } |
| 241 | |
| 242 | private void serializeAuth() { |
| 243 | Map params = new HashMap(); |
| 244 | params.put("token", token); |
| 245 | params.put("refreshToken", refreshToken); |
| 246 | params.put("identityToken", identityToken); |
| 247 | params.put("clientId", clientId); |
| 248 | params.put("redirectURI", redirectURI); |
| 249 | params.put("scope", scope); |
| 250 | params.put("clientSecret", clientSecret); |
| 251 | params.put("oauth2URL", oauth2URL); |
| 252 | params.put("tokenRequestURL", tokenRequestURL); |
| 253 | params.put("additionalParams", additionalParams); |
| 254 | params.put("backToParent", backToParent); |
| 255 | Storage s = Storage.getInstance(); |
| 256 | s.writeObject("__oauth2Params", params); |
| 257 | } |
| 258 | |
| 259 | /// This method preforms the actual authentication, this method is a blocking |
| 260 | /// method that will display the user the html authentication pages. |
no test coverage detected