FirebaseAuth Framework Reference

GoogleAuthProvider

class GoogleAuthProvider : NSObject

Utility class for constructing Google Sign In credentials.

  • Creates an AuthCredential for a Google sign in.

    Declaration

    Swift

    class func credential(withIDToken IDToken: String, accessToken: String) -> FIRAuthCredential

    Parameters

    IDToken

    The ID Token from Google.

    accessToken

    The Access Token from Google.

    Return Value

    An AuthCredential containing the Google credentials.

  • This class should not be initialized.