Skip to content

Commit 70901ae

Browse files
committed
[Auth] Update GetOOBConfirmationCodeRequest to have only immutable properties
1 parent b9db78b commit 70901ae

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

FirebaseAuth/Sources/Swift/Backend/RPC/GetOOBConfirmationCodeRequest.swift

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -107,44 +107,44 @@ class GetOOBConfirmationCodeRequest: IdentityToolkitRequest, AuthRPCRequest {
107107
typealias Response = GetOOBConfirmationCodeResponse
108108

109109
/// The types of OOB Confirmation Code to request.
110-
let requestType: GetOOBConfirmationCodeRequestType
110+
private let requestType: GetOOBConfirmationCodeRequestType
111111

112112
/// The email of the user for password reset.
113-
private(set) var email: String?
113+
private let email: String?
114114

115115
/// The new email to be updated for verifyBeforeUpdateEmail.
116-
private(set) var updatedEmail: String?
116+
private let updatedEmail: String?
117117

118118
/// The STS Access Token of the authenticated user for email change.
119-
private(set) var accessToken: String?
119+
private let accessToken: String?
120120

121121
/// This URL represents the state/Continue URL in the form of a universal link.
122-
private(set) var continueURL: String?
122+
private let continueURL: String?
123123

124124
/// The iOS bundle Identifier, if available.
125-
private(set) var iOSBundleID: String?
125+
private let iOSBundleID: String?
126126

127127
/// The Android package name, if available.
128-
private(set) var androidPackageName: String?
128+
private let androidPackageName: String?
129129

130130
/// The minimum Android version supported, if available.
131-
private(set) var androidMinimumVersion: String?
131+
private let androidMinimumVersion: String?
132132

133133
/// Indicates whether or not the Android app should be installed if not already available.
134-
private(set) var androidInstallApp: Bool
134+
private let androidInstallApp: Bool
135135

136136
/// Indicates whether the action code link will open the app directly or after being
137137
/// redirected from a Firebase owned web widget.
138-
private(set) var handleCodeInApp: Bool
138+
private let handleCodeInApp: Bool
139139

140140
/// The Firebase Dynamic Link domain used for out of band code flow.
141-
private(set) var dynamicLinkDomain: String?
141+
private let dynamicLinkDomain: String?
142142

143143
/// Response to the captcha.
144-
var captchaResponse: String?
144+
private(set) var captchaResponse: String?
145145

146146
/// The reCAPTCHA version.
147-
var recaptchaVersion: String?
147+
private(set) var recaptchaVersion: String?
148148

149149
/// Designated initializer.
150150
/// - Parameter requestType: The types of OOB Confirmation Code to request.

0 commit comments

Comments
 (0)