FirebaseAuth Framework Reference

FIRGameCenterAuthProvider


@interface FIRGameCenterAuthProvider : NSObject

A concrete implementation of AuthProvider for Game Center Sign In. Not available on watchOS.

  • Creates an AuthCredential for a Game Center sign in.

    Declaration

    Objective-C

    + (void)getCredentialWithCompletion:
        (nonnull void (^)(FIRAuthCredential *_Nullable,
                          NSError *_Nullable))completion;
  • This class is not meant to be initialized.

    Declaration

    Objective-C

    - (nonnull instancetype)init;