We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e09c321 commit f9e5be1Copy full SHA for f9e5be1
FirebaseAuth/Sources/Backend/RPC/FIREmailLinkSignInRequest.m
@@ -43,6 +43,11 @@
43
*/
44
static NSString *const kPostBodyKey = @"postBody";
45
46
+/** @var kTenantIDKey
47
+ @brief The key for the tenant id value in the request.
48
+ */
49
+static NSString *const kTenantIDKey = @"tenantId";
50
+
51
@implementation FIREmailLinkSignInRequest
52
53
- (instancetype)initWithEmail:(NSString *)email
@@ -66,6 +71,9 @@ - (nullable id)unencodedHTTPRequestBodyWithError:(NSError *_Nullable *_Nullable)
66
71
if (_IDToken) {
67
72
postBody[kIDTokenKey] = _IDToken;
68
73
}
74
+ if (self.tenantID) {
75
+ postBody[kTenantIDKey] = self.tenantID;
76
+ }
69
77
return [postBody copy];
70
78
79
0 commit comments