@@ -169,10 +169,11 @@ extension Auth: AuthInterop {
169
169
170
170
/// Gets the `FirebaseApp` object that this auth object is connected to.
171
171
@objc public internal( set) weak var app : FirebaseApp ?
172
-
172
+
173
173
/// New R-GCIP v2 + BYO-CIAM initializer.
174
174
///
175
- /// This initializer allows to create an `Auth` instance with a specific `tenantConfig` for R-GCIP.
175
+ /// This initializer allows to create an `Auth` instance with a specific `tenantConfig` for
176
+ /// R-GCIP.
176
177
/// - Parameters:
177
178
/// - app: The `FirebaseApp` for which to initialize the `Auth` instance.
178
179
/// - tenantConfig: The configuration for the tenant, including location and tenant ID.
@@ -189,9 +190,9 @@ extension Auth: AuthInterop {
189
190
190
191
/// Holds configuration for a R-GCIP tenant.
191
192
public struct TenantConfig {
192
- public let location : String /// The location of the tenant.
193
- public let tenantId : String /// The ID of the tenant.
194
-
193
+ public let location : String /// The location of the tenant.
194
+ public let tenantId : String /// The ID of the tenant.
195
+
195
196
/// Initializes a `TenantConfig` instance.
196
197
/// - Parameters:
197
198
/// - location: The location of the tenant, defaults to "prod-global".
@@ -201,15 +202,15 @@ extension Auth: AuthInterop {
201
202
self . tenantId = tenantId
202
203
}
203
204
}
204
-
205
+
205
206
/// Holds a Firebase ID token and its expiration.
206
207
public struct AuthExchangeToken {
207
- public let token : String
208
- public let expirationDate : Date ?
209
- init ( token: String , expirationDate: Date ? ) {
210
- self . token = token
211
- self . expirationDate = expirationDate
212
- }
208
+ public let token : String
209
+ public let expirationDate : Date ?
210
+ init ( token: String , expirationDate: Date ? ) {
211
+ self . token = token
212
+ self . expirationDate = expirationDate
213
+ }
213
214
}
214
215
215
216
/// Synchronously gets the cached current user, or null if there is none.
@@ -2470,7 +2471,6 @@ extension Auth: AuthInterop {
2470
2471
2471
2472
@available ( iOS 13 , * )
2472
2473
public extension Auth {
2473
-
2474
2474
/// Exchanges a third-party OIDC token for a Firebase STS token.
2475
2475
///
2476
2476
/// Requires the `Auth` instance to be configured with a `TenantConfig` for R-GCIP.
0 commit comments