@rxap/firebase 19.0.4-dev.0 → 19.0.5-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/compodoc/changelog.html +23 -0
- package/compodoc/dependencies.html +3 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +172 -172
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AppCheckService.html +2 -2
- package/docs/html/classes/FirebaseAppCheckHttpInterceptor.html +3 -3
- package/docs/html/classes/RxapAngularFireAppCheckModule.html +2 -2
- package/docs/html/classes/RxapAngularFireStorageModule.html +2 -2
- package/docs/html/classes/RxapFirebaseMessagingService.html +2 -2
- package/docs/html/functions/AnalyticsEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckSiteKeyFactory.html +1 -1
- package/docs/html/functions/AppIsTokenAutoRefreshEnabledFactory.html +1 -1
- package/docs/html/functions/AuthLanguageCodeFactory.html +1 -1
- package/docs/html/functions/AuthPersistenceFactory.html +1 -1
- package/docs/html/functions/AuthSettingsFactory.html +1 -1
- package/docs/html/functions/AuthTenantIdFactory.html +1 -1
- package/docs/html/functions/AuthUseDeviceLanguageFactory.html +1 -1
- package/docs/html/functions/DataCollectionEnabledFactory.html +1 -1
- package/docs/html/functions/EnablePersistenceTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseNameOrConfigTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseOptionsTokenFactory.html +1 -1
- package/docs/html/functions/FirestoreSettingsTokenFactory.html +1 -1
- package/docs/html/functions/FunctionsNewOriginBehaviorFactory.html +1 -1
- package/docs/html/functions/FunctionsOriginFactory.html +1 -1
- package/docs/html/functions/FunctionsRegionFactory.html +1 -1
- package/docs/html/functions/GetAnalyticsAppName.html +1 -1
- package/docs/html/functions/InstrumentationEnabledFactory.html +1 -1
- package/docs/html/functions/PersistenceSettingsTokenFactory.html +1 -1
- package/docs/html/functions/ServiceWorkerFactory.html +1 -1
- package/docs/html/functions/StorageBucketFactory.html +1 -1
- package/docs/html/functions/StorageMaxOperationRetryTimeFactory.html +1 -1
- package/docs/html/functions/StorageMaxUploadRetryTimeFactory.html +1 -1
- package/docs/html/functions/UseAuthEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFirestoreEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFunctionsEmulatorFactory.html +1 -1
- package/docs/html/functions/VapidKeyFactory.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/FirebaseConfig.html +2 -2
- package/docs/html/interfaces/Message.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/APP_CHECK_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_SITE_KEY.html +1 -1
- package/docs/html/variables/FIREBASE_ANALYTICS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_AUTH_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FIRESTORE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FUNCTIONS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_MESSAGING_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PERFORMANCE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_STORAGE_PROVIDERS.html +1 -1
- package/docs/html/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.html +1 -1
- package/docs/html/variables/USE_STORAGE_EMULATOR.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppCheckService.md +6 -6
- package/docs/markdown/classes/FirebaseAppCheckHttpInterceptor.md +5 -5
- package/docs/markdown/classes/RxapAngularFireAppCheckModule.md +4 -4
- package/docs/markdown/classes/RxapAngularFireStorageModule.md +3 -3
- package/docs/markdown/classes/RxapFirebaseMessagingService.md +8 -8
- package/docs/markdown/functions/AnalyticsEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckSiteKeyFactory.md +2 -2
- package/docs/markdown/functions/AppIsTokenAutoRefreshEnabledFactory.md +2 -2
- package/docs/markdown/functions/AuthLanguageCodeFactory.md +2 -2
- package/docs/markdown/functions/AuthPersistenceFactory.md +2 -2
- package/docs/markdown/functions/AuthSettingsFactory.md +2 -2
- package/docs/markdown/functions/AuthTenantIdFactory.md +2 -2
- package/docs/markdown/functions/AuthUseDeviceLanguageFactory.md +2 -2
- package/docs/markdown/functions/DataCollectionEnabledFactory.md +2 -2
- package/docs/markdown/functions/EnablePersistenceTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseNameOrConfigTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseOptionsTokenFactory.md +2 -2
- package/docs/markdown/functions/FirestoreSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/FunctionsNewOriginBehaviorFactory.md +2 -2
- package/docs/markdown/functions/FunctionsOriginFactory.md +2 -2
- package/docs/markdown/functions/FunctionsRegionFactory.md +2 -2
- package/docs/markdown/functions/GetAnalyticsAppName.md +2 -2
- package/docs/markdown/functions/InstrumentationEnabledFactory.md +2 -2
- package/docs/markdown/functions/PersistenceSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/ServiceWorkerFactory.md +2 -2
- package/docs/markdown/functions/StorageBucketFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxOperationRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxUploadRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/UseAuthEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFirestoreEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFunctionsEmulatorFactory.md +2 -2
- package/docs/markdown/functions/VapidKeyFactory.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/FirebaseConfig.md +3 -3
- package/docs/markdown/interfaces/Message.md +5 -5
- package/docs/markdown/variables/APP_CHECK_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_SITE_KEY.md +2 -2
- package/docs/markdown/variables/FIREBASE_ANALYTICS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_AUTH_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FIRESTORE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FUNCTIONS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_MESSAGING_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PERFORMANCE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_STORAGE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +2 -2
- package/docs/markdown/variables/USE_STORAGE_EMULATOR.md +2 -2
- package/docs/wiki/Class.AppCheckService.md +5 -5
- package/docs/wiki/Class.FirebaseAppCheckHttpInterceptor.md +4 -4
- package/docs/wiki/Class.RxapAngularFireAppCheckModule.md +3 -3
- package/docs/wiki/Class.RxapAngularFireStorageModule.md +2 -2
- package/docs/wiki/Class.RxapFirebaseMessagingService.md +7 -7
- package/docs/wiki/Function.AnalyticsEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckSiteKeyFactory.md +1 -1
- package/docs/wiki/Function.AppIsTokenAutoRefreshEnabledFactory.md +1 -1
- package/docs/wiki/Function.AuthLanguageCodeFactory.md +1 -1
- package/docs/wiki/Function.AuthPersistenceFactory.md +1 -1
- package/docs/wiki/Function.AuthSettingsFactory.md +1 -1
- package/docs/wiki/Function.AuthTenantIdFactory.md +1 -1
- package/docs/wiki/Function.AuthUseDeviceLanguageFactory.md +1 -1
- package/docs/wiki/Function.DataCollectionEnabledFactory.md +1 -1
- package/docs/wiki/Function.EnablePersistenceTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseNameOrConfigTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseOptionsTokenFactory.md +1 -1
- package/docs/wiki/Function.FirestoreSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.FunctionsNewOriginBehaviorFactory.md +1 -1
- package/docs/wiki/Function.FunctionsOriginFactory.md +1 -1
- package/docs/wiki/Function.FunctionsRegionFactory.md +1 -1
- package/docs/wiki/Function.GetAnalyticsAppName.md +1 -1
- package/docs/wiki/Function.InstrumentationEnabledFactory.md +1 -1
- package/docs/wiki/Function.PersistenceSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.ServiceWorkerFactory.md +1 -1
- package/docs/wiki/Function.StorageBucketFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxOperationRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxUploadRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.UseAuthEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFirestoreEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFunctionsEmulatorFactory.md +1 -1
- package/docs/wiki/Function.VapidKeyFactory.md +1 -1
- package/docs/wiki/Interface.FirebaseConfig.md +2 -2
- package/docs/wiki/Interface.Message.md +4 -4
- package/docs/wiki/Variable.APP_CHECK_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_SITE_KEY.md +1 -1
- package/docs/wiki/Variable.FIREBASE_ANALYTICS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_AUTH_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FIRESTORE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FUNCTIONS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_MESSAGING_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PERFORMANCE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_STORAGE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +1 -1
- package/docs/wiki/Variable.USE_STORAGE_EMULATOR.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-firebase-auth.mjs +3 -3
- package/fesm2022/rxap-firebase-auth.mjs.map +1 -1
- package/fesm2022/rxap-firebase.mjs +17 -17
- package/fesm2022/rxap-firebase.mjs.map +1 -1
- package/package.json +12 -13
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AppIsTokenAutoRefreshEnabledFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:149](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:149](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L149)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AuthLanguageCodeFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:125](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:125](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L125)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AuthPersistenceFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:133](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:133](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L133)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AuthSettingsFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:137](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:137](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L137)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AuthTenantIdFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:121](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:121](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L121)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AuthUseDeviceLanguageFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:129](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:129](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L129)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **DataCollectionEnabledFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:93](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:93](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L93)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **EnablePersistenceTokenFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:65](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:65](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L65)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **FirebaseNameOrConfigTokenFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:61](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:61](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L61)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **FirebaseOptionsTokenFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:57](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:57](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L57)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **FirestoreSettingsTokenFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:73](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:73](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L73)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **FunctionsNewOriginBehaviorFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:85](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:85](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L85)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **FunctionsOriginFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:81](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:81](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L81)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **FunctionsRegionFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:77](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:77](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L77)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **GetAnalyticsAppName**(`config`): `undefined` \| `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:105](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:105](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L105)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **InstrumentationEnabledFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:89](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:89](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L89)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **PersistenceSettingsTokenFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:69](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:69](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L69)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ServiceWorkerFactory**(): `false` \| `Promise`\<`undefined` \| `ServiceWorkerRegistration`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:165](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:165](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L165)
|
|
8
8
|
|
|
9
9
|
## Returns
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageBucketFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:153](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:153](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L153)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageMaxOperationRetryTimeFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:161](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:161](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L161)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageMaxUploadRetryTimeFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:157](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:157](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L157)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **UseAuthEmulatorFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:117](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:117](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L117)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **UseFirestoreEmulatorFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:109](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:109](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L109)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **UseFunctionsEmulatorFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:113](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:113](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L113)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **VapidKeyFactory**(`configService`): `any`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:97](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:97](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L97)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: FirebaseConfig
|
|
4
4
|
|
|
5
|
-
Defined in: [firebase.config.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [firebase.config.ts:7](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.config.ts#L7)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [firebase.config.ts:7](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
10
10
|
|
|
11
11
|
> **firebase**: `null` \| \{ `analytics`: \{ `enabled`: `boolean`; \}; `appCheck`: \{ `isTokenAutoRefreshEnabled`: `boolean`; `siteKey`: `string`; \}; `auth`: \{ `facebook`: `boolean`; `github`: `boolean`; `google`: `boolean`; `languageCode`: `string`; `persistence`: `boolean`; `settings`: `AuthSettings`; `tenantId`: `string`; `twitter`: `boolean`; `useDeviceLanguage`: `boolean`; \}; `emulator`: \{ `auth`: \[`string`, `number`\]; `firestore`: \[`string`, `number`\]; `functions`: \[`string`, `number`\]; \}; `firestore`: \{ `enablePersistence`: `boolean`; `persistenceSettings`: `PersistenceSettings`; `settings`: `FirestoreSettings`; \}; `functions`: \{ `origin`: `null` \| `string`; `region`: `null` \| `string`; \}; `messaging`: \{ `vapid`: `null` \| `string`; \}; `name`: `null` \| `string`; `options`: \{ `apiKey`: `string`; `appId`: `string`; `authDomain`: `string`; `databaseURL`: `string`; `messagingSenderId`: `string`; `projectId`: `string`; `storageBucket`: `string`; \}; `origin`: `null` \| `string`; `region`: `null` \| `string`; `storage`: \{ `bucket`: `string`; `maxOperationRetryTime`: `number`; `maxUploadRetryTime`: `number`; \}; `storageBucket`: `null` \| `string`; `vapid`: `null` \| `string`; \}
|
|
12
12
|
|
|
13
|
-
Defined in: [firebase.config.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [firebase.config.ts:8](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.config.ts#L8)
|
|
14
14
|
|
|
15
15
|
#### Type declaration
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: Message
|
|
4
4
|
|
|
5
|
-
Defined in: [firebase-messaging.service.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [firebase-messaging.service.ts:14](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase-messaging.service.ts#L14)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [firebase-messaging.service.ts:14](https://gitlab.com/rxap/packages/
|
|
|
10
10
|
|
|
11
11
|
> **collapse\_key**: `string`
|
|
12
12
|
|
|
13
|
-
Defined in: [firebase-messaging.service.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [firebase-messaging.service.ts:15](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase-messaging.service.ts#L15)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [firebase-messaging.service.ts:15](https://gitlab.com/rxap/packages/
|
|
|
18
18
|
|
|
19
19
|
> **from**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [firebase-messaging.service.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [firebase-messaging.service.ts:16](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase-messaging.service.ts#L16)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [firebase-messaging.service.ts:16](https://gitlab.com/rxap/packages/
|
|
|
26
26
|
|
|
27
27
|
> **notification**: `object`
|
|
28
28
|
|
|
29
|
-
Defined in: [firebase-messaging.service.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [firebase-messaging.service.ts:17](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase-messaging.service.ts#L17)
|
|
30
30
|
|
|
31
31
|
#### body
|
|
32
32
|
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **APP\_CHECK\_ENABLED**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/tokens.ts#L4)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **APP\_CHECK\_IS\_TOKEN\_AUTO\_REFRESH\_ENABLED**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:6](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/tokens.ts#L6)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **APP\_CHECK\_SITE\_KEY**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/tokens.ts#L5)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_ANALYTICS\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:258](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:258](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L258)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_APP\_CHECK\_HTTP\_INTERCEPTOR**: `Provider`
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase-app-check.http-interceptor.ts:62](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase-app-check.http-interceptor.ts:62](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase-app-check.http-interceptor.ts#L62)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_APP\_CHECK\_HTTP\_INTERCEPTOR\_URL\_PATTERN**: `InjectionToken`\<`RegExp`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:8](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/tokens.ts#L8)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_APP\_CHECK\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:304](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:304](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L304)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_APP\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:169](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:169](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L169)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_AUTH\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:271](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:271](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L271)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_FIRESTORE\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:191](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:191](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L191)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_FUNCTIONS\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:214](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:214](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L214)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_MESSAGING\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:232](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:232](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L232)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_PERFORMANCE\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:245](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:245](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L245)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:341](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:341](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L341)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **FIREBASE\_STORAGE\_PROVIDERS**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [firebase.provider.ts:323](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [firebase.provider.ts:323](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/firebase.provider.ts#L323)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_REQUEST\_CLOUD\_MESSAGING\_TOKEN**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/tokens.ts#L3)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **USE\_STORAGE\_EMULATOR**: `InjectionToken`\<\[`string`, `number`\]\>
|
|
6
6
|
|
|
7
|
-
Defined in: [storage.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage.ts:9](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/firebase/src/lib/storage.ts#L9)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -84,10 +84,10 @@ class IdentityPlatformService {
|
|
|
84
84
|
this.isAuthenticated$.next(true);
|
|
85
85
|
return true;
|
|
86
86
|
}
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
88
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: IdentityPlatformService, deps: [{ token: i1.Auth }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
88
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: IdentityPlatformService }); }
|
|
89
89
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: IdentityPlatformService, decorators: [{
|
|
91
91
|
type: Injectable
|
|
92
92
|
}], ctorParameters: () => [{ type: i1.Auth }] });
|
|
93
93
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-firebase-auth.mjs","sources":["../../../../../packages/angular/firebase/auth/src/lib/identity-platform.http-interceptor.ts","../../../../../packages/angular/firebase/auth/src/lib/identity-platform.service.ts","../../../../../packages/angular/firebase/auth/src/index.ts","../../../../../packages/angular/firebase/auth/src/rxap-firebase-auth.ts"],"sourcesContent":["import { HttpErrorResponse, HttpEvent, HttpHandlerFn, HttpInterceptorFn, HttpRequest } from '@angular/common/http';\nimport {\n inject,\n InjectionToken,\n} from '@angular/core';\nimport {\n Auth,\n idToken,\n} from '@angular/fire/auth';\nimport { isDefined } from '@rxap/rxjs';\nimport { coerceArray } from '@rxap/utilities';\nimport { Observable } from 'rxjs';\nimport {\n catchError,\n switchMap,\n tap,\n} from 'rxjs/operators';\n\nexport const IDENTITY_PLATFORM_HTTP_INTERCEPTOR_URL_PATTERN = new InjectionToken<RegExp>(\n 'identity-platform-http-interceptor-url-pattern');\n\n\nexport const IdentityPlatformHttpInterceptor: HttpInterceptorFn = (req: HttpRequest<unknown>, next: HttpHandlerFn): Observable<HttpEvent<any>> => {\n\n const urlPattern: RegExp[] = coerceArray(\n inject(IDENTITY_PLATFORM_HTTP_INTERCEPTOR_URL_PATTERN, { optional: true }) ?? []);\n const auth = inject(Auth);\n\n const isMatch = (req: HttpRequest<any>) => {\n return urlPattern.some(pattern => req.url.match(pattern));\n };\n\n if (isMatch(req)) {\n return idToken(auth).pipe(\n tap(idTokenValue => {\n if (!idTokenValue) {\n throw new Error(\n `The isToken is not defined. Ensure that the user is logged in, before sending a request to '${ req.url }'`);\n }\n }),\n isDefined(),\n switchMap(idTokenValue => next(req.clone({\n setHeaders: {\n idToken: idTokenValue,\n },\n })).pipe(\n catchError(error => {\n if (error instanceof HttpErrorResponse) {\n if (error.status === 401) {\n auth.signOut().then(() => location.reload());\n }\n }\n throw error;\n }),\n )),\n );\n }\n return next(req);\n\n};\n\n","import {\n BehaviorSubject,\n EMPTY,\n firstValueFrom,\n Observable,\n} from 'rxjs';\nimport {\n map,\n take,\n} from 'rxjs/operators';\nimport { Injectable } from '@angular/core';\nimport {\n Auth,\n AuthProvider,\n authState,\n confirmPasswordReset,\n FacebookAuthProvider,\n GithubAuthProvider,\n GoogleAuthProvider,\n sendPasswordResetEmail,\n signInWithEmailAndPassword,\n signInWithPopup,\n signInWithRedirect,\n signOut,\n TwitterAuthProvider,\n User,\n} from '@angular/fire/auth';\nimport { traceUntilFirst } from '@angular/fire/performance';\n\n@Injectable()\nexport class IdentityPlatformService {\n isAuthenticated$: BehaviorSubject<boolean | null> = new BehaviorSubject<boolean | null>(null);\n\n public readonly user: Observable<User | null> = EMPTY;\n\n constructor(\n public readonly auth: Auth,\n ) {\n this.user = authState(this.auth);\n this.isAuthenticated().then(isAuthenticated => this.isAuthenticated$.next(isAuthenticated));\n }\n\n public async requestPasswordReset(email: string): Promise<boolean> {\n await sendPasswordResetEmail(this.auth, email);\n return true;\n }\n\n public async sendPasswordReset(password: string, token: string): Promise<boolean> {\n await confirmPasswordReset(this.auth, token, password);\n return true;\n }\n\n public async signInWithEmailAndPassword(email: string, password: string, remember: boolean): Promise<boolean> {\n await signInWithEmailAndPassword(this.auth, email, password);\n this.isAuthenticated$.next(true);\n return true;\n }\n\n public async signOut(): Promise<boolean> {\n await signOut(this.auth);\n this.isAuthenticated$.next(false);\n return true;\n }\n\n public google(popup = true): Promise<boolean> {\n return this.withProvider(new GoogleAuthProvider(), popup);\n }\n\n public github(popup = true): Promise<boolean> {\n return this.withProvider(new GithubAuthProvider(), popup);\n }\n\n public facebook(popup = true): Promise<boolean> {\n return this.withProvider(new FacebookAuthProvider(), popup);\n }\n\n public twitter(popup = true): Promise<boolean> {\n return this.withProvider(new TwitterAuthProvider(), popup);\n }\n\n public isAuthenticated(): Promise<boolean> {\n return firstValueFrom(authState(this.auth).pipe(\n traceUntilFirst('auth'),\n take(1),\n map(Boolean),\n ));\n }\n\n protected async withProvider(provider: AuthProvider, popup = true) {\n const signIn: Promise<any> = popup ? signInWithPopup(this.auth, provider) : signInWithRedirect(this.auth, provider);\n await signIn;\n this.isAuthenticated$.next(true);\n return true;\n }\n\n}\n","// region \nexport * from './lib/identity-platform.http-interceptor';\nexport * from './lib/identity-platform.service';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAkBa,8CAA8C,GAAG,IAAI,cAAc,CAC9E,gDAAgD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C,YAAY,CAAC,IAAI,kBAAkB,EAAE,EAAE,KAAK,CAAC;;IAGpD,QAAQ,CAAC,KAAK,GAAG,IAAI,EAAA;QAC1B,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,oBAAoB,EAAE,EAAE,KAAK,CAAC;;IAGtD,OAAO,CAAC,KAAK,GAAG,IAAI,EAAA;QACzB,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,mBAAmB,EAAE,EAAE,KAAK,CAAC;;IAGrD,eAAe,GAAA;QACpB,OAAO,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAC7C,eAAe,CAAC,MAAM,CAAC,EACvB,IAAI,CAAC,CAAC,CAAC,EACP,GAAG,CAAC,OAAO,CAAC,CACb,CAAC;;AAGM,IAAA,MAAM,YAAY,CAAC,QAAsB,EAAE,KAAK,GAAG,IAAI,EAAA;QAC/D,MAAM,MAAM,GAAiB,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACnH,QAAA,MAAM,MAAM;AACZ,QAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;AAChC,QAAA,OAAO,IAAI
|
|
1
|
+
{"version":3,"file":"rxap-firebase-auth.mjs","sources":["../../../../../packages/angular/firebase/auth/src/lib/identity-platform.http-interceptor.ts","../../../../../packages/angular/firebase/auth/src/lib/identity-platform.service.ts","../../../../../packages/angular/firebase/auth/src/index.ts","../../../../../packages/angular/firebase/auth/src/rxap-firebase-auth.ts"],"sourcesContent":["import { HttpErrorResponse, HttpEvent, HttpHandlerFn, HttpInterceptorFn, HttpRequest } from '@angular/common/http';\nimport {\n inject,\n InjectionToken,\n} from '@angular/core';\nimport {\n Auth,\n idToken,\n} from '@angular/fire/auth';\nimport { isDefined } from '@rxap/rxjs';\nimport { coerceArray } from '@rxap/utilities';\nimport { Observable } from 'rxjs';\nimport {\n catchError,\n switchMap,\n tap,\n} from 'rxjs/operators';\n\nexport const IDENTITY_PLATFORM_HTTP_INTERCEPTOR_URL_PATTERN = new InjectionToken<RegExp>(\n 'identity-platform-http-interceptor-url-pattern');\n\n\nexport const IdentityPlatformHttpInterceptor: HttpInterceptorFn = (req: HttpRequest<unknown>, next: HttpHandlerFn): Observable<HttpEvent<any>> => {\n\n const urlPattern: RegExp[] = coerceArray(\n inject(IDENTITY_PLATFORM_HTTP_INTERCEPTOR_URL_PATTERN, { optional: true }) ?? []);\n const auth = inject(Auth);\n\n const isMatch = (req: HttpRequest<any>) => {\n return urlPattern.some(pattern => req.url.match(pattern));\n };\n\n if (isMatch(req)) {\n return idToken(auth).pipe(\n tap(idTokenValue => {\n if (!idTokenValue) {\n throw new Error(\n `The isToken is not defined. Ensure that the user is logged in, before sending a request to '${ req.url }'`);\n }\n }),\n isDefined(),\n switchMap(idTokenValue => next(req.clone({\n setHeaders: {\n idToken: idTokenValue,\n },\n })).pipe(\n catchError(error => {\n if (error instanceof HttpErrorResponse) {\n if (error.status === 401) {\n auth.signOut().then(() => location.reload());\n }\n }\n throw error;\n }),\n )),\n );\n }\n return next(req);\n\n};\n\n","import {\n BehaviorSubject,\n EMPTY,\n firstValueFrom,\n Observable,\n} from 'rxjs';\nimport {\n map,\n take,\n} from 'rxjs/operators';\nimport { Injectable } from '@angular/core';\nimport {\n Auth,\n AuthProvider,\n authState,\n confirmPasswordReset,\n FacebookAuthProvider,\n GithubAuthProvider,\n GoogleAuthProvider,\n sendPasswordResetEmail,\n signInWithEmailAndPassword,\n signInWithPopup,\n signInWithRedirect,\n signOut,\n TwitterAuthProvider,\n User,\n} from '@angular/fire/auth';\nimport { traceUntilFirst } from '@angular/fire/performance';\n\n@Injectable()\nexport class IdentityPlatformService {\n isAuthenticated$: BehaviorSubject<boolean | null> = new BehaviorSubject<boolean | null>(null);\n\n public readonly user: Observable<User | null> = EMPTY;\n\n constructor(\n public readonly auth: Auth,\n ) {\n this.user = authState(this.auth);\n this.isAuthenticated().then(isAuthenticated => this.isAuthenticated$.next(isAuthenticated));\n }\n\n public async requestPasswordReset(email: string): Promise<boolean> {\n await sendPasswordResetEmail(this.auth, email);\n return true;\n }\n\n public async sendPasswordReset(password: string, token: string): Promise<boolean> {\n await confirmPasswordReset(this.auth, token, password);\n return true;\n }\n\n public async signInWithEmailAndPassword(email: string, password: string, remember: boolean): Promise<boolean> {\n await signInWithEmailAndPassword(this.auth, email, password);\n this.isAuthenticated$.next(true);\n return true;\n }\n\n public async signOut(): Promise<boolean> {\n await signOut(this.auth);\n this.isAuthenticated$.next(false);\n return true;\n }\n\n public google(popup = true): Promise<boolean> {\n return this.withProvider(new GoogleAuthProvider(), popup);\n }\n\n public github(popup = true): Promise<boolean> {\n return this.withProvider(new GithubAuthProvider(), popup);\n }\n\n public facebook(popup = true): Promise<boolean> {\n return this.withProvider(new FacebookAuthProvider(), popup);\n }\n\n public twitter(popup = true): Promise<boolean> {\n return this.withProvider(new TwitterAuthProvider(), popup);\n }\n\n public isAuthenticated(): Promise<boolean> {\n return firstValueFrom(authState(this.auth).pipe(\n traceUntilFirst('auth'),\n take(1),\n map(Boolean),\n ));\n }\n\n protected async withProvider(provider: AuthProvider, popup = true) {\n const signIn: Promise<any> = popup ? signInWithPopup(this.auth, provider) : signInWithRedirect(this.auth, provider);\n await signIn;\n this.isAuthenticated$.next(true);\n return true;\n }\n\n}\n","// region \nexport * from './lib/identity-platform.http-interceptor';\nexport * from './lib/identity-platform.service';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAkBa,8CAA8C,GAAG,IAAI,cAAc,CAC9E,gDAAgD;MAGrC,+BAA+B,GAAsB,CAAC,GAAyB,EAAE,IAAmB,KAAgC;AAE/I,IAAA,MAAM,UAAU,GAAa,WAAW,CACtC,MAAM,CAAC,8CAA8C,EAAE,EAAE,QAAQ,EAAE,IAAI,E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E,EAAE,KAAK,CAAC;;IAGtD,OAAO,CAAC,KAAK,GAAG,IAAI,EAAA;QACzB,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,mBAAmB,EAAE,EAAE,KAAK,CAAC;;IAGrD,eAAe,GAAA;QACpB,OAAO,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAC7C,eAAe,CAAC,MAAM,CAAC,EACvB,IAAI,CAAC,CAAC,CAAC,EACP,GAAG,CAAC,OAAO,CAAC,CACb,CAAC;;AAGM,IAAA,MAAM,YAAY,CAAC,QAAsB,EAAE,KAAK,GAAG,IAAI,EAAA;QAC/D,MAAM,MAAM,GAAiB,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACnH,QAAA,MAAM,MAAM;AACZ,QAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;AAChC,QAAA,OAAO,IAAI;;+GA9DF,uBAAuB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;mHAAvB,uBAAuB,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC;;;AC7BD;AAGA;;ACHA;;AAEG;;;;"}
|
|
@@ -65,10 +65,10 @@ class AppCheckService {
|
|
|
65
65
|
setTokenAutoRefreshEnabled(this._appCheck, isTokenAutoRefreshEnabled);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
69
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AppCheckService, deps: [{ token: FIREBASE_OPTIONS }, { token: FIREBASE_APP_NAME, optional: true }, { token: NgZone }, { token: i1.ConfigService }, { token: APP_CHECK_ENABLED, optional: true }, { token: APP_CHECK_SITE_KEY, optional: true }, { token: APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
69
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AppCheckService }); }
|
|
70
70
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AppCheckService, decorators: [{
|
|
72
72
|
type: Injectable
|
|
73
73
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
74
74
|
type: Inject,
|
|
@@ -101,11 +101,11 @@ class RxapAngularFireAppCheckModule {
|
|
|
101
101
|
constructor(appCheck) {
|
|
102
102
|
this.appCheck = appCheck;
|
|
103
103
|
}
|
|
104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
105
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
106
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireAppCheckModule, deps: [{ token: AppCheckService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
105
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireAppCheckModule }); }
|
|
106
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireAppCheckModule, providers: [AppCheckService] }); }
|
|
107
107
|
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireAppCheckModule, decorators: [{
|
|
109
109
|
type: NgModule,
|
|
110
110
|
args: [{
|
|
111
111
|
providers: [AppCheckService],
|
|
@@ -135,10 +135,10 @@ class FirebaseAppCheckHttpInterceptor {
|
|
|
135
135
|
isMatch(req) {
|
|
136
136
|
return this.urlPattern.some(pattern => req.url.match(pattern));
|
|
137
137
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
139
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FirebaseAppCheckHttpInterceptor, deps: [{ token: i1$1.AppCheck }, { token: FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN }, { token: APP_CHECK_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FirebaseAppCheckHttpInterceptor }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FirebaseAppCheckHttpInterceptor, decorators: [{
|
|
142
142
|
type: Injectable
|
|
143
143
|
}], ctorParameters: () => [{ type: i1$1.AppCheck }, { type: undefined, decorators: [{
|
|
144
144
|
type: Inject,
|
|
@@ -190,10 +190,10 @@ class RxapFirebaseMessagingService {
|
|
|
190
190
|
console.warn('Notification permission is not granted');
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
194
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapFirebaseMessagingService, deps: [{ token: AngularFireMessaging }, { token: RXAP_REQUEST_CLOUD_MESSAGING_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
194
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapFirebaseMessagingService, providedIn: 'root' }); }
|
|
195
195
|
}
|
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapFirebaseMessagingService, decorators: [{
|
|
197
197
|
type: Injectable,
|
|
198
198
|
args: [{ providedIn: 'root' }]
|
|
199
199
|
}], ctorParameters: () => [{ type: i1$2.AngularFireMessaging, decorators: [{
|
|
@@ -473,11 +473,11 @@ class RxapAngularFireStorageModule {
|
|
|
473
473
|
this.storage.storage.useEmulator(...useEmulator);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
477
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
478
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
476
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireStorageModule, deps: [{ token: i1$3.AngularFireStorage }, { token: USE_STORAGE_EMULATOR, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
477
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireStorageModule }); }
|
|
478
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireStorageModule }); }
|
|
479
479
|
}
|
|
480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RxapAngularFireStorageModule, decorators: [{
|
|
481
481
|
type: NgModule,
|
|
482
482
|
args: [{}]
|
|
483
483
|
}], ctorParameters: () => [{ type: i1$3.AngularFireStorage }, { type: undefined, decorators: [{
|