The newest version of Google Identity Toolkit has been released as Firebase Authentication. It includes upgraded client SDKs, open source UI libraries, session management and integrated email sending service for forgotten password flows.

New projects should use Firebase Authentication. To migrate an existing project from Identity Toolkit to Firebase Authentication, see the migration guide.

<GITInterfaceManagerDelegate> Protocol

<GITInterfaceManagerDelegate> Protocol Reference

Overview

Protocol that allows custom UI.

Inherits <NSObjectNSObject>.

Instance Method Summary

(UIViewController *) - startingViewController
 Sent to the receiver to find the view controller on top of which modal view controllers should be displayed. More...
 
(UIViewController *) - signInControllerWithAccount:
 Sent to the receiver to find the initial sign in view controller. More...
 
(UIViewController *) - legacySignInControllerWithEmail:
 Sent to the receiver to find the password user sign in view controller. More...
 
(UIViewController *) - legacySignUpControllerWithEmail:
 Sent to the receiver to find the password user sign up view controller. More...
 
(UIViewController *) - accountLinkingControllerWithUnverifiedProvider:verifiedProvider:
 Sent to the receiver to find the account linking view controller for federated user. More...
 
(UIViewController *) - accountLinkingControllerWithUnverifiedProvider:
 Sent to the receiver to find the account linking view controller for password user. More...
 

Method Detail

- (UIViewController *) startingViewController
optional

Sent to the receiver to find the view controller on top of which modal view controllers should be displayed.

If this method is not implemented, it will be displayed on top of the root view controller.

- (UIViewController *) signInControllerWithAccount: (GITAccount *)  account
optional

Sent to the receiver to find the initial sign in view controller.

If this method is not implemented, a default implemtation will be used, which could be either a account chip screen or a nascar screen, depending on if there's a saved account signed in last time.

Parameters
accountThe account that was used last time, could be nil.
- (UIViewController *) legacySignInControllerWithEmail: (NSString *)  email
optional

Sent to the receiver to find the password user sign in view controller.

If this method is not implemented, a default implemtation will be used.

Parameters
emailThe email address of the user.
- (UIViewController *) legacySignUpControllerWithEmail: (NSString *)  email
optional

Sent to the receiver to find the password user sign up view controller.

If this method is not implemented, a default implemtation will be used.

Parameters
emailThe email address of the user.
- (UIViewController *) accountLinkingControllerWithUnverifiedProvider: (NSString *)  unverifiedProvider
verifiedProvider: (NSString *)  verifiedProvider 
optional

Sent to the receiver to find the account linking view controller for federated user.

If this method is not implemented, a default implemtation will be used.

Parameters
unverifiedProviderThe provider ID of an IdP to be verified.
verifiedProviderThe provider ID of an IdP the user has previously signed in with.
- (UIViewController *) accountLinkingControllerWithUnverifiedProvider: (NSString *)  unverifiedProvider
optional

Sent to the receiver to find the account linking view controller for password user.

If this method is not implemented, a default implemtation will be used.

Parameters
unverifiedProviderThe provider ID of an IdP to be verified.