GameCenterAuthProvider
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIRGameCenterAuthProvider)
open class GameCenterAuthProvider : NSObjectA concrete implementation of AuthProvider for Game Center Sign In. Not available on watchOS.
- 
                  
                  
A string constant identifying the Game Center identity provider.
Declaration
Swift
@objc public static let id: String - 
                  
                  
Creates an
AuthCredentialfor a Game Center sign in.Declaration
Swift
@objc open class func getCredential(completion: @escaping (AuthCredential?, Error?) -> Void) - 
                  
                  
Creates an
AuthCredentialfor a Game Center sign in.Declaration
Swift
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 8, *) open class func getCredential() async throws -> AuthCredential