GoogleAuthProvider

class GoogleAuthProvider : NSObject

Utility class for constructing Google Sign In credentials.

  • Creates an FIRAuthCredential 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

    A FIRAuthCredential containing the Google credentials.

  • This class should not be initialized.