Skip to content

Commit b69c5b3

Browse files
Avoid a compile-time error with an @available check in Xcode 14 (#345)
1 parent 8e5712d commit b69c5b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Sources/OktaOidc/Common/OktaOidcConfig.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ public class OktaOidcConfig: NSObject {
3333

3434
@objc public var tokenValidator: OKTTokenValidator = OKTDefaultTokenValidator()
3535

36+
private var _noSSO = false
37+
3638
@available(iOS 13.0, *)
37-
@objc public lazy var noSSO = false
39+
@objc public var noSSO: Bool {
40+
get { _noSSO }
41+
set { _noSSO = newValue }
42+
}
3843

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

0 commit comments

Comments
 (0)