Skip to content

Commit

Permalink
Revert availability changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Feb 18, 2025
1 parent 4f29af1 commit 0275447
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions FirebaseAuth/Sources/Swift/Utilities/AuthRecaptchaVerifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Foundation
import RecaptchaInterop
#endif // os(iOS)

@available(iOS 13, *)
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
class AuthRecaptchaConfig {
var siteKey: String?
let enablementStatus: [AuthRecaptchaProvider: AuthRecaptchaEnablementStatus]
Expand All @@ -34,7 +34,7 @@ class AuthRecaptchaConfig {
}
}

@available(iOS 13, *)
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
enum AuthRecaptchaEnablementStatus: String, CaseIterable {
case enforce = "ENFORCE"
case audit = "AUDIT"
Expand All @@ -44,7 +44,7 @@ enum AuthRecaptchaEnablementStatus: String, CaseIterable {
var stringValue: String { rawValue }
}

@available(iOS 13, *)
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
enum AuthRecaptchaProvider: String, CaseIterable {
case password = "EMAIL_PASSWORD_PROVIDER"
case phone = "PHONE_PROVIDER"
Expand All @@ -53,7 +53,7 @@ enum AuthRecaptchaProvider: String, CaseIterable {
var stringValue: String { rawValue }
}

@available(iOS 13, *)
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
enum AuthRecaptchaAction: String {
case defaultAction
case signInWithPassword
Expand All @@ -67,7 +67,7 @@ enum AuthRecaptchaAction: String {
var stringValue: String { rawValue }
}

@available(iOS 13, *)
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
class AuthRecaptchaVerifier {
private let recaptchaVersion = "RECAPTCHA_ENTERPRISE"
weak var auth: Auth?
Expand Down

0 comments on commit 0275447

Please sign in to comment.