MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / handleRedirect

Method handleRedirect

CodenameOne/src/com/codename1/io/Oauth2.java:232–240  ·  view source on GitHub ↗
(ActionListener callback)

Source from the content-addressed store, hash-verified

230 ///
231 /// - #isUseRedirectForWeb()
232 public static boolean handleRedirect(ActionListener callback) {
233 Oauth2 request = fetchSerializedOauth2Request();
234 if (request == null) {
235 return false;
236 }
237 String href = CN.getProperty("browser.window.location.href", null);
238 request.handleURL(href, null, callback, null, null, null);
239 return true;
240 }
241
242 private void serializeAuth() {
243 Map params = new HashMap();

Callers 3

startMethod · 0.95
testOauth2LoginMethod · 0.95
invokeStatic12Method · 0.45

Calls 3

getPropertyMethod · 0.95
handleURLMethod · 0.95

Tested by 1

testOauth2LoginMethod · 0.76