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)