FIRAuthCredential

@interface FIRAuthCredential : NSObject

Represents a credential.

  • Gets the name of the identity provider for the credential.

    Declaration

    Swift

    var provider: String { get }

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull provider;
  • This is an abstract base class. Concrete instances should be created via factory methods available in the various authentication provider libraries (like the Facebook provider or the Google provider libraries.)

    Declaration

    Objective-C

    - (nonnull instancetype)init;