Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate WebView authentication flow #36

Merged
merged 2 commits into from
Nov 21, 2016
Merged

Conversation

lbalmaceda
Copy link
Contributor

Methods that receive a REQUEST_CODE are now deprecated. Users should avoid calling builder.useBrowser(false).

//Start the authentication
public void doAuth(){
   WebAuthProvider.init(account)
      .start(activity, callback);
}

//Capture the result and resume the authentication
@Override
protected void onNewIntent(Intent intent) {
   if (WebAuthProvider.resume(intent)) {
      return;   //Handled
   }
   super.onNewIntent(intent);
}

@hzalaz hzalaz modified the milestone: 1.1.1 Nov 21, 2016
@hzalaz hzalaz merged commit a84b38d into master Nov 21, 2016
@hzalaz hzalaz deleted the deprecate-webview-flow branch November 21, 2016 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants