FirebaseAuth Framework Reference

FIROAuthCredential


@interface FIROAuthCredential : FIRAuthCredential <NSSecureCoding>

Internal implementation of FIRAuthCredential for generic credentials.

  • The ID Token associated with this credential.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *IDToken;
  • The access token associated with this credential.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *accessToken;
  • The secret associated with this credential. This will be nil for OAuth 2.0 providers. @detail OAuthCredential already exposes a providerId getter. This will help the developer determine whether an access token/secret pair is needed.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *secret;
  • This class is not supposed to be instantiated directly.

    Declaration

    Objective-C

    - (nonnull instancetype)init;