OAuthCredential

class OAuthCredential : AuthCredential, NSSecureCoding

Internal implementation of FIRAuthCredential for generic credentials.

  • The ID Token associated with this credential.

    Declaration

    Swift

    var idToken: String? { get }
  • The access token associated with this credential.

    Declaration

    Swift

    var accessToken: String? { get }
  • 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

    Swift

    var secret: String? { get }
  • This class is not supposed to be instantiated directly.