@rxap/authentication 19.0.3 → 19.0.4-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.
Files changed (65) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/compodoc/changelog.html +2 -0
  3. package/compodoc/dependencies.html +4 -4
  4. package/compodoc/js/search/search_index.js +2 -2
  5. package/compodoc/properties.html +1 -1
  6. package/docs/documentation.json +69 -69
  7. package/docs/html/classes/AuthenticationRoutingService.html +2 -2
  8. package/docs/html/classes/DisabledAuthenticationService.html +2 -2
  9. package/docs/html/classes/RegisterService.html +2 -2
  10. package/docs/html/classes/RxapAuthenticationGuard.html +2 -2
  11. package/docs/html/classes/RxapAuthenticationService.html +2 -2
  12. package/docs/html/classes/SignOutDirective.html +2 -2
  13. package/docs/html/enums/AuthenticationEventType.html +2 -2
  14. package/docs/html/functions/BearerTokenInterceptor.html +1 -1
  15. package/docs/html/functions/provideAuthentication.html +1 -1
  16. package/docs/html/functions/withDisabledAuthentication.html +1 -1
  17. package/docs/html/functions/withInitialAuthenticationState.html +1 -1
  18. package/docs/html/hierarchy.html +1 -1
  19. package/docs/html/index.html +2 -2
  20. package/docs/html/interfaces/AuthenticationAccessToken.html +2 -2
  21. package/docs/html/interfaces/AuthenticationEvent.html +2 -2
  22. package/docs/html/interfaces/IAuthenticationService.html +2 -2
  23. package/docs/html/modules.html +1 -1
  24. package/docs/html/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.html +1 -1
  25. package/docs/html/variables/RXAP_AUTHENTICATION_DEACTIVATED.html +1 -1
  26. package/docs/html/variables/RXAP_INITIAL_AUTHENTICATION_STATE.html +1 -1
  27. package/docs/markdown/README.md +1 -1
  28. package/docs/markdown/classes/AuthenticationRoutingService.md +3 -3
  29. package/docs/markdown/classes/DisabledAuthenticationService.md +6 -6
  30. package/docs/markdown/classes/RegisterService.md +4 -4
  31. package/docs/markdown/classes/RxapAuthenticationGuard.md +8 -8
  32. package/docs/markdown/classes/RxapAuthenticationService.md +7 -7
  33. package/docs/markdown/classes/SignOutDirective.md +6 -6
  34. package/docs/markdown/enumerations/AuthenticationEventType.md +5 -5
  35. package/docs/markdown/functions/BearerTokenInterceptor.md +2 -2
  36. package/docs/markdown/functions/provideAuthentication.md +2 -2
  37. package/docs/markdown/functions/withDisabledAuthentication.md +2 -2
  38. package/docs/markdown/functions/withInitialAuthenticationState.md +2 -2
  39. package/docs/markdown/globals.md +2 -2
  40. package/docs/markdown/interfaces/AuthenticationAccessToken.md +4 -4
  41. package/docs/markdown/interfaces/AuthenticationEvent.md +3 -3
  42. package/docs/markdown/interfaces/IAuthenticationService.md +6 -6
  43. package/docs/markdown/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.md +2 -2
  44. package/docs/markdown/variables/RXAP_AUTHENTICATION_DEACTIVATED.md +2 -2
  45. package/docs/markdown/variables/RXAP_INITIAL_AUTHENTICATION_STATE.md +2 -2
  46. package/docs/wiki/Class.AuthenticationRoutingService.md +2 -2
  47. package/docs/wiki/Class.DisabledAuthenticationService.md +5 -5
  48. package/docs/wiki/Class.RegisterService.md +3 -3
  49. package/docs/wiki/Class.RxapAuthenticationGuard.md +7 -7
  50. package/docs/wiki/Class.RxapAuthenticationService.md +6 -6
  51. package/docs/wiki/Class.SignOutDirective.md +5 -5
  52. package/docs/wiki/Enumeration.AuthenticationEventType.md +4 -4
  53. package/docs/wiki/Function.BearerTokenInterceptor.md +1 -1
  54. package/docs/wiki/Function.provideAuthentication.md +1 -1
  55. package/docs/wiki/Function.withDisabledAuthentication.md +1 -1
  56. package/docs/wiki/Function.withInitialAuthenticationState.md +1 -1
  57. package/docs/wiki/Interface.AuthenticationAccessToken.md +3 -3
  58. package/docs/wiki/Interface.AuthenticationEvent.md +2 -2
  59. package/docs/wiki/Interface.IAuthenticationService.md +5 -5
  60. package/docs/wiki/Variable.RXAP_AUTHENTICATION_ACCESS_TOKEN.md +1 -1
  61. package/docs/wiki/Variable.RXAP_AUTHENTICATION_DEACTIVATED.md +1 -1
  62. package/docs/wiki/Variable.RXAP_INITIAL_AUTHENTICATION_STATE.md +1 -1
  63. package/docs/wiki/globals.md +1 -1
  64. package/fesm2022/rxap-authentication.mjs +18 -18
  65. package/package.json +10 -10
@@ -42,10 +42,10 @@ class RxapAuthenticationService {
42
42
  isAuthenticated() {
43
43
  return Promise.resolve(this._authenticated);
44
44
  }
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RxapAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
46
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RxapAuthenticationService, providedIn: 'root' }); }
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RxapAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
46
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RxapAuthenticationService, providedIn: 'root' }); }
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RxapAuthenticationService, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RxapAuthenticationService, decorators: [{
49
49
  type: Injectable,
50
50
  args: [{ providedIn: 'root' }]
51
51
  }], ctorParameters: () => [] });
@@ -67,10 +67,10 @@ class AuthenticationRoutingService {
67
67
  })).subscribe();
68
68
  }
69
69
  }
70
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AuthenticationRoutingService, deps: [{ token: Router }, { token: RxapAuthenticationService }, { token: RXAP_AUTHENTICATION_DEACTIVATED, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
71
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AuthenticationRoutingService, providedIn: 'root' }); }
70
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AuthenticationRoutingService, deps: [{ token: Router }, { token: RxapAuthenticationService }, { token: RXAP_AUTHENTICATION_DEACTIVATED, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
71
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AuthenticationRoutingService, providedIn: 'root' }); }
72
72
  }
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AuthenticationRoutingService, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AuthenticationRoutingService, decorators: [{
74
74
  type: Injectable,
75
75
  args: [{
76
76
  providedIn: 'root',
@@ -172,10 +172,10 @@ class RxapAuthenticationGuard {
172
172
  }
173
173
  return this.router.createUrlTree([lastUrl]);
174
174
  }
175
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RxapAuthenticationGuard, deps: [{ token: RxapAuthenticationService }, { token: Router }, { token: RXAP_AUTHENTICATION_DEACTIVATED, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
176
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RxapAuthenticationGuard, providedIn: 'root' }); }
175
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RxapAuthenticationGuard, deps: [{ token: RxapAuthenticationService }, { token: Router }, { token: RXAP_AUTHENTICATION_DEACTIVATED, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
176
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RxapAuthenticationGuard, providedIn: 'root' }); }
177
177
  }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RxapAuthenticationGuard, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RxapAuthenticationGuard, decorators: [{
179
179
  type: Injectable,
180
180
  args: [{ providedIn: 'root' }]
181
181
  }], ctorParameters: () => [{ type: RxapAuthenticationService, decorators: [{
@@ -226,10 +226,10 @@ class DisabledAuthenticationService {
226
226
  async isAuthenticated() {
227
227
  return true;
228
228
  }
229
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: DisabledAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
230
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: DisabledAuthenticationService }); }
229
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: DisabledAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
230
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: DisabledAuthenticationService }); }
231
231
  }
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: DisabledAuthenticationService, decorators: [{
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: DisabledAuthenticationService, decorators: [{
233
233
  type: Injectable
234
234
  }] });
235
235
 
@@ -257,10 +257,10 @@ class RegisterService {
257
257
  register(email, password) {
258
258
  return Promise.resolve(true);
259
259
  }
260
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RegisterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
261
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RegisterService, providedIn: 'root' }); }
260
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RegisterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
261
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RegisterService, providedIn: 'root' }); }
262
262
  }
263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RegisterService, decorators: [{
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RegisterService, decorators: [{
264
264
  type: Injectable,
265
265
  args: [{ providedIn: 'root' }]
266
266
  }], ctorParameters: () => [] });
@@ -280,10 +280,10 @@ class SignOutDirective {
280
280
  this.failure.emit(e);
281
281
  }
282
282
  }
283
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SignOutDirective, deps: [{ token: RxapAuthenticationService }], target: i0.ɵɵFactoryTarget.Directive }); }
284
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.3", type: SignOutDirective, isStandalone: true, selector: "[rxapSignOut]", outputs: { successful: "successful", failure: "failure" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
283
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SignOutDirective, deps: [{ token: RxapAuthenticationService }], target: i0.ɵɵFactoryTarget.Directive }); }
284
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: SignOutDirective, isStandalone: true, selector: "[rxapSignOut]", outputs: { successful: "successful", failure: "failure" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
285
285
  }
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SignOutDirective, decorators: [{
286
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SignOutDirective, decorators: [{
287
287
  type: Directive,
288
288
  args: [{
289
289
  selector: '[rxapSignOut]',
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
- "version": "19.0.3",
2
+ "version": "19.0.4-dev.0",
3
3
  "name": "@rxap/authentication",
4
4
  "description": "Provides authentication services, guards, and interceptors for Angular applications. It supports token-based authentication and provides features such as sign-out functionality and routing based on authentication status. This package also includes utilities for disabling authentication in certain environments and managing access tokens.\n",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "dependencies": {
7
- "@nx/devkit": "20.4.6",
7
+ "@nx/devkit": "20.5.0",
8
8
  "tslib": "2.6.2"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/common": "^19.1.3",
12
- "@angular/core": "^19.1.3",
13
- "@angular/router": "^19.1.3",
11
+ "@angular/common": "^19.2.1",
12
+ "@angular/core": "^19.2.1",
13
+ "@angular/router": "^19.2.1",
14
14
  "@rxap/utilities": "^16.4.3",
15
15
  "rxjs": "^7.8.1"
16
16
  },
@@ -37,19 +37,19 @@
37
37
  "packageGroup": [
38
38
  {
39
39
  "package": "@angular/common",
40
- "version": "19.1.3"
40
+ "version": "19.2.1"
41
41
  },
42
42
  {
43
43
  "package": "@angular/core",
44
- "version": "19.1.3"
44
+ "version": "19.2.1"
45
45
  },
46
46
  {
47
47
  "package": "@angular/platform-browser",
48
- "version": "19.1.3"
48
+ "version": "19.2.1"
49
49
  },
50
50
  {
51
51
  "package": "@angular/router",
52
- "version": "19.1.3"
52
+ "version": "19.2.1"
53
53
  },
54
54
  {
55
55
  "package": "@rxap/utilities",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "schematics": "./generators.json",
70
70
  "sideEffects": false,
71
- "gitHead": "15b5fab8912b1042ea325e7f4d98844416018df1",
71
+ "gitHead": "e4552670b179901abc7ce57cc3ff490ac705b867",
72
72
  "module": "fesm2022/rxap-authentication.mjs",
73
73
  "typings": "index.d.ts",
74
74
  "exports": {