In May 2016, we released the newest version of Google Identity Toolkit as Firebase Authentication, and in April 2019, we released Google Cloud's Identity Platform. These products include upgraded client SDKs, open source UI libraries, session management and integrated email sending service for forgotten password flows.

On June 30, 2020, the SDKs documented on this page and the API setting page will stop functioning. (The https://identitytoolkit.googleapis.com/... and https://securetoken.googleapis.com/... endpoints, used by Identity Platform and Firebase Authentication, will continue to function.)

To migrate an existing project from Identity Toolkit, see the Identity Platform migration guide or Firebase Authentication migration guide.

GitkitClient.SignInCallbacks

public static interface GitkitClient.SignInCallbacks

Interface for callback methods which are called when the sign in process is finished. The callback method runs in UI thread.

Public Method Summary

abstract void
onSignIn(IdToken idToken, GitkitUser gitkitUser)
abstract void

Public Methods

public abstract void onSignIn (IdToken idToken, GitkitUser gitkitUser)

After user successfully signs in, this method is invoked with the IdToken and signed in GitkitUser.

Parameters
idToken the ID token issued by identitytoolkit service. This ID Token will always be valid at the time of this call.
gitkitUser the user account information.

public abstract void onSignInFailed ()

The callback invoked when the sign in fails.