@@ -64,7 +64,7 @@ typedef void (^FIRAuthBackendRPCIssuerCompletionHandler)(NSData *_Nullable data,
64
64
@remarks One of response or error will be non-nil.
65
65
*/
66
66
typedef void (^FIRCreateAuthURIResponseCallback)
67
- (FIRCreateAuthURIResponse *_Nullable, NSError *_Nullable);
67
+ (FIRCreateAuthURIResponse *_Nullable response , NSError *_Nullable error );
68
68
69
69
/* * @typedef FIRGetAccountInfoResponseCallback
70
70
@brief The type of block used to return the result of a call to the getAccountInfo
@@ -74,7 +74,7 @@ typedef void (^FIRCreateAuthURIResponseCallback)
74
74
@remarks One of response or error will be non-nil.
75
75
*/
76
76
typedef void (^FIRGetAccountInfoResponseCallback)
77
- (FIRGetAccountInfoResponse *_Nullable, NSError *_Nullable);
77
+ (FIRGetAccountInfoResponse *_Nullable response , NSError *_Nullable error );
78
78
79
79
/* * @typedef FIRSetAccountInfoResponseCallback
80
80
@brief The type of block used to return the result of a call to the setAccountInfo
@@ -84,7 +84,7 @@ typedef void (^FIRGetAccountInfoResponseCallback)
84
84
@remarks One of response or error will be non-nil.
85
85
*/
86
86
typedef void (^FIRSetAccountInfoResponseCallback)
87
- (FIRSetAccountInfoResponse *_Nullable, NSError *_Nullable);
87
+ (FIRSetAccountInfoResponse *_Nullable response , NSError *_Nullable error );
88
88
89
89
/* * @typedef FIRSecureTokenResponseCallback
90
90
@brief The type of block used to return the result of a call to the token endpoint.
@@ -93,7 +93,7 @@ typedef void (^FIRSetAccountInfoResponseCallback)
93
93
@remarks One of response or error will be non-nil.
94
94
*/
95
95
typedef void (^FIRSecureTokenResponseCallback)
96
- (FIRSecureTokenResponse *_Nullable, NSError *_Nullable);
96
+ (FIRSecureTokenResponse *_Nullable response , NSError *_Nullable error );
97
97
98
98
/* * @typedef FIRVerifyAssertionResponseCallback
99
99
@brief The type of block used to return the result of a call to the verifyAssertion
@@ -103,7 +103,7 @@ typedef void (^FIRSecureTokenResponseCallback)
103
103
@remarks One of response or error will be non-nil.
104
104
*/
105
105
typedef void (^FIRVerifyAssertionResponseCallback)
106
- (FIRVerifyAssertionResponse *_Nullable, NSError *_Nullable);
106
+ (FIRVerifyAssertionResponse *_Nullable response , NSError *_Nullable error );
107
107
108
108
/* * @typedef FIRVerifyPasswordResponseCallback
109
109
@brief The type of block used to return the result of a call to the verifyPassword
@@ -113,7 +113,7 @@ typedef void (^FIRVerifyAssertionResponseCallback)
113
113
@remarks One of response or error will be non-nil.
114
114
*/
115
115
typedef void (^FIRVerifyPasswordResponseCallback)
116
- (FIRVerifyPasswordResponse *_Nullable, NSError *_Nullable);
116
+ (FIRVerifyPasswordResponse *_Nullable response , NSError *_Nullable error );
117
117
118
118
/* * @typedef FIRVerifyCustomTokenResponseCallback
119
119
@brief The type of block used to return the result of a call to the verifyCustomToken
@@ -123,7 +123,7 @@ typedef void (^FIRVerifyPasswordResponseCallback)
123
123
@remarks One of response or error will be non-nil.
124
124
*/
125
125
typedef void (^FIRVerifyCustomTokenResponseCallback)
126
- (FIRVerifyCustomTokenResponse *_Nullable, NSError *_Nullable);
126
+ (FIRVerifyCustomTokenResponse *_Nullable response , NSError *_Nullable error );
127
127
128
128
/* * @typedef FIRDeleteCallBack
129
129
@brief The type of block called when a request delete account has finished.
@@ -139,7 +139,7 @@ typedef void (^FIRDeleteCallBack)(NSError *_Nullable error);
139
139
@remarks One of response or error will be non-nil.
140
140
*/
141
141
typedef void (^FIRGetOOBConfirmationCodeResponseCallback)
142
- (FIRGetOOBConfirmationCodeResponse *_Nullable, NSError *_Nullable);
142
+ (FIRGetOOBConfirmationCodeResponse *_Nullable response , NSError *_Nullable error );
143
143
144
144
/* * @typedef FIRSignupNewUserCallback
145
145
@brief The type of block used to return the result of a call to the signupNewUser endpoint.
@@ -148,7 +148,7 @@ typedef void (^FIRGetOOBConfirmationCodeResponseCallback)
148
148
@remarks One of response or error will be non-nil.
149
149
*/
150
150
typedef void (^FIRSignupNewUserCallback)
151
- (FIRSignUpNewUserResponse *_Nullable, NSError *_Nullable);
151
+ (FIRSignUpNewUserResponse *_Nullable response , NSError *_Nullable error );
152
152
153
153
/* * @typedef FIRResetPasswordCallback
154
154
@brief The type of block used to return the result of a call to the resetPassword endpoint.
@@ -157,7 +157,7 @@ typedef void (^FIRSignupNewUserCallback)
157
157
@remarks One of response or error will be non-nil.
158
158
*/
159
159
typedef void (^FIRResetPasswordCallback)
160
- (FIRResetPasswordResponse *_Nullable, NSError *_Nullable);
160
+ (FIRResetPasswordResponse *_Nullable response , NSError *_Nullable error );
161
161
162
162
/* * @typedef FIRSendVerificationCodeResponseCallback
163
163
@brief The type of block used to return the result of a call to the sendVerificationCode
@@ -167,7 +167,7 @@ typedef void (^FIRResetPasswordCallback)
167
167
@remarks One of response or error will be non-nil.
168
168
*/
169
169
typedef void (^FIRSendVerificationCodeResponseCallback)
170
- (FIRSendVerificationCodeResponse *_Nullable, NSError *_Nullable);
170
+ (FIRSendVerificationCodeResponse *_Nullable response , NSError *_Nullable error );
171
171
172
172
/* * @typedef FIRVerifyPhoneNumberResponseCallback
173
173
@brief The type of block used to return the result of a call to the verifyPhoneNumber endpoint.
@@ -176,7 +176,7 @@ typedef void (^FIRSendVerificationCodeResponseCallback)
176
176
@remarks One of response or error will be non-nil.
177
177
*/
178
178
typedef void (^FIRVerifyPhoneNumberResponseCallback)
179
- (FIRVerifyPhoneNumberResponse *_Nullable, NSError *_Nullable);
179
+ (FIRVerifyPhoneNumberResponse *_Nullable response , NSError *_Nullable error );
180
180
181
181
/* * @class FIRAuthBackend
182
182
@brief Simple static class with methods representing the backend RPCs.
0 commit comments