@rxap/authentication 19.0.3-dev.0 → 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.
- package/CHANGELOG.md +8 -0
- package/compodoc/changelog.html +4 -0
- package/compodoc/dependencies.html +4 -4
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +69 -69
- package/docs/html/classes/AuthenticationRoutingService.html +2 -2
- package/docs/html/classes/DisabledAuthenticationService.html +2 -2
- package/docs/html/classes/RegisterService.html +2 -2
- package/docs/html/classes/RxapAuthenticationGuard.html +2 -2
- package/docs/html/classes/RxapAuthenticationService.html +2 -2
- package/docs/html/classes/SignOutDirective.html +2 -2
- package/docs/html/enums/AuthenticationEventType.html +2 -2
- package/docs/html/functions/BearerTokenInterceptor.html +1 -1
- package/docs/html/functions/provideAuthentication.html +1 -1
- package/docs/html/functions/withDisabledAuthentication.html +1 -1
- package/docs/html/functions/withInitialAuthenticationState.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AuthenticationAccessToken.html +2 -2
- package/docs/html/interfaces/AuthenticationEvent.html +2 -2
- package/docs/html/interfaces/IAuthenticationService.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.html +1 -1
- package/docs/html/variables/RXAP_AUTHENTICATION_DEACTIVATED.html +1 -1
- package/docs/html/variables/RXAP_INITIAL_AUTHENTICATION_STATE.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AuthenticationRoutingService.md +3 -3
- package/docs/markdown/classes/DisabledAuthenticationService.md +6 -6
- package/docs/markdown/classes/RegisterService.md +4 -4
- package/docs/markdown/classes/RxapAuthenticationGuard.md +8 -8
- package/docs/markdown/classes/RxapAuthenticationService.md +7 -7
- package/docs/markdown/classes/SignOutDirective.md +6 -6
- package/docs/markdown/enumerations/AuthenticationEventType.md +5 -5
- package/docs/markdown/functions/BearerTokenInterceptor.md +2 -2
- package/docs/markdown/functions/provideAuthentication.md +2 -2
- package/docs/markdown/functions/withDisabledAuthentication.md +2 -2
- package/docs/markdown/functions/withInitialAuthenticationState.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AuthenticationAccessToken.md +4 -4
- package/docs/markdown/interfaces/AuthenticationEvent.md +3 -3
- package/docs/markdown/interfaces/IAuthenticationService.md +6 -6
- package/docs/markdown/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.md +2 -2
- package/docs/markdown/variables/RXAP_AUTHENTICATION_DEACTIVATED.md +2 -2
- package/docs/markdown/variables/RXAP_INITIAL_AUTHENTICATION_STATE.md +2 -2
- package/docs/wiki/Class.AuthenticationRoutingService.md +2 -2
- package/docs/wiki/Class.DisabledAuthenticationService.md +5 -5
- package/docs/wiki/Class.RegisterService.md +3 -3
- package/docs/wiki/Class.RxapAuthenticationGuard.md +7 -7
- package/docs/wiki/Class.RxapAuthenticationService.md +6 -6
- package/docs/wiki/Class.SignOutDirective.md +5 -5
- package/docs/wiki/Enumeration.AuthenticationEventType.md +4 -4
- package/docs/wiki/Function.BearerTokenInterceptor.md +1 -1
- package/docs/wiki/Function.provideAuthentication.md +1 -1
- package/docs/wiki/Function.withDisabledAuthentication.md +1 -1
- package/docs/wiki/Function.withInitialAuthenticationState.md +1 -1
- package/docs/wiki/Interface.AuthenticationAccessToken.md +3 -3
- package/docs/wiki/Interface.AuthenticationEvent.md +2 -2
- package/docs/wiki/Interface.IAuthenticationService.md +5 -5
- package/docs/wiki/Variable.RXAP_AUTHENTICATION_ACCESS_TOKEN.md +1 -1
- package/docs/wiki/Variable.RXAP_AUTHENTICATION_DEACTIVATED.md +1 -1
- package/docs/wiki/Variable.RXAP_INITIAL_AUTHENTICATION_STATE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-authentication.mjs +18 -18
- 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
|
|
46
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
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
|
|
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
|
|
71
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
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
|
|
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
|
|
176
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
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
|
|
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
|
|
230
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
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
|
|
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
|
|
261
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
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
|
|
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
|
|
284
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1
|
|
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
|
|
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.
|
|
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.
|
|
7
|
+
"@nx/devkit": "20.5.0",
|
|
8
8
|
"tslib": "2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/common": "^19.1
|
|
12
|
-
"@angular/core": "^19.1
|
|
13
|
-
"@angular/router": "^19.1
|
|
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
|
|
40
|
+
"version": "19.2.1"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"package": "@angular/core",
|
|
44
|
-
"version": "19.1
|
|
44
|
+
"version": "19.2.1"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"package": "@angular/platform-browser",
|
|
48
|
-
"version": "19.1
|
|
48
|
+
"version": "19.2.1"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"package": "@angular/router",
|
|
52
|
-
"version": "19.1
|
|
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": "
|
|
71
|
+
"gitHead": "e4552670b179901abc7ce57cc3ff490ac705b867",
|
|
72
72
|
"module": "fesm2022/rxap-authentication.mjs",
|
|
73
73
|
"typings": "index.d.ts",
|
|
74
74
|
"exports": {
|