Skip to content

Commit

Permalink
Avoid a compile-time error with an @available check in Xcode 14 (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenachbaur-okta authored Jun 14, 2022
1 parent 8e5712d commit b69c5b3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/OktaOidc/Common/OktaOidcConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ public class OktaOidcConfig: NSObject {

@objc public var tokenValidator: OKTTokenValidator = OKTDefaultTokenValidator()

private var _noSSO = false

@available(iOS 13.0, *)
@objc public lazy var noSSO = false
@objc public var noSSO: Bool {
get { _noSSO }
set { _noSSO = newValue }
}

@objc public let additionalParams: [String: String]?

Expand Down

0 comments on commit b69c5b3

Please sign in to comment.