FirebaseAuth Framework Reference | Latest TMZ Celebrity News & Gossip | Watch TMZ Live

FirebaseAuth Framework Reference

OAuthCredential

@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIROAuthCredential)
open class OAuthCredential: AuthCredential, NSSecureCoding,
  @unchecked Sendable

Internal implementation of AuthCredential for generic credentials.

  • The ID Token associated with this credential.

    Declaration

    Swift

    @objc(IDToken)
    public let idToken: String?
  • The access token associated with this credential.

    Declaration

    Swift

    @objc
    public let accessToken: String?
  • The secret associated with this credential. This will be nil for OAuth 2.0 providers.

    OAuthCredential already exposes a provider getter. This will help the developer determine whether an access token / secret pair is needed.

    Declaration

    Swift

    @objc
    public let secret: String?
  • Undocumented

    Declaration

    Swift

    public static let supportsSecureCoding: Bool
  • Undocumented

    Declaration

    Swift

    public func encode(with coder: NSCoder)
  • Undocumented

    Declaration

    Swift

    public required init?(coder: NSCoder)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.