/** Creates a credentialed user. */ public CredentialedUser( GoogleLoginState state, @Nullable final IGoogleLoginCompletedCallback loginCompletedCallback) { this.email = state.getEmail(); googleLoginState = state; credential = googleLoginState.makeCredential(); GoogleLoginUtils.getUserInfo( credential, userInfoPlus -> initializeUserInfo(userInfoPlus, loginCompletedCallback)); }