FIRGoogleAuthProvider
@interface FIRGoogleAuthProvider : NSObjectUtility class for constructing Google Sign In credentials.
-
Creates an
AuthCredentialfor a Google sign in.Declaration
Objective-C
+ (nonnull FIRAuthCredential *)credentialWithIDToken:(nonnull NSString *)IDToken accessToken: (nonnull NSString *)accessToken;Parameters
IDTokenThe ID Token from Google.
accessTokenThe Access Token from Google.
Return Value
An AuthCredential containing the Google credentials.
-
This class should not be initialized.
Declaration
Objective-C
- (nonnull instancetype)init;