@rxap/authentication 19.0.2 → 19.0.3-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 +4 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +2 -0
- package/compodoc/dependencies.html +1 -1
- package/compodoc/index.html +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +70 -70
- 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 +3 -3
- 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 +2 -2
- 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/Home.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/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v19.0.
|
|
1
|
+
[**@rxap/authentication v19.0.3-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: IAuthenticationService
|
|
8
8
|
|
|
9
|
-
Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L12)
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/bl
|
|
|
14
14
|
|
|
15
15
|
> **events$**: `Observable`\<[`AuthenticationEvent`](AuthenticationEvent.md)\>
|
|
16
16
|
|
|
17
|
-
Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L14)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/bl
|
|
|
22
22
|
|
|
23
23
|
> **isAuthenticated$**: `Observable`\<`null` \| `boolean`\>
|
|
24
24
|
|
|
25
|
-
Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L13)
|
|
26
26
|
|
|
27
27
|
## Methods
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/bl
|
|
|
30
30
|
|
|
31
31
|
> **isAuthenticated**(): `Promise`\<`boolean`\>
|
|
32
32
|
|
|
33
|
-
Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L17)
|
|
34
34
|
|
|
35
35
|
#### Returns
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/bl
|
|
|
42
42
|
|
|
43
43
|
> **signOut**(): `Promise`\<`void`\>
|
|
44
44
|
|
|
45
|
-
Defined in: [authentication.service.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
45
|
+
Defined in: [authentication.service.ts:15](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L15)
|
|
46
46
|
|
|
47
47
|
#### Returns
|
|
48
48
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v19.0.
|
|
1
|
+
[**@rxap/authentication v19.0.3-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **RXAP\_AUTHENTICATION\_ACCESS\_TOKEN**: `InjectionToken`\<`BehaviorSubject`\<`null` \| [`AuthenticationAccessToken`](../interfaces/AuthenticationAccessToken.md)\>\>
|
|
10
10
|
|
|
11
|
-
Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L14)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v19.0.
|
|
1
|
+
[**@rxap/authentication v19.0.3-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **RXAP\_AUTHENTICATION\_DEACTIVATED**: `InjectionToken`\<`boolean`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L7)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v19.0.
|
|
1
|
+
[**@rxap/authentication v19.0.3-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **RXAP\_INITIAL\_AUTHENTICATION\_STATE**: `InjectionToken`\<`boolean`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L22)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: AuthenticationRoutingService
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication-routing.service.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [authentication-routing.service.ts:14](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication-routing.service.ts#L14)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [authentication-routing.service.ts:14](https://gitlab.com/rxap/packa
|
|
|
10
10
|
|
|
11
11
|
> **new AuthenticationRoutingService**(`router`, `authenticationService`, `deactivated`): [`AuthenticationRoutingService`](../wiki/Class.AuthenticationRoutingService)
|
|
12
12
|
|
|
13
|
-
Defined in: [authentication-routing.service.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [authentication-routing.service.ts:16](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication-routing.service.ts#L16)
|
|
14
14
|
|
|
15
15
|
#### Parameters
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: DisabledAuthenticationService
|
|
4
4
|
|
|
5
|
-
Defined in: [disabled-authentication.service.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [disabled-authentication.service.ts:9](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L9)
|
|
6
6
|
|
|
7
7
|
## Implements
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Defined in: [disabled-authentication.service.ts:9](https://gitlab.com/rxap/packa
|
|
|
24
24
|
|
|
25
25
|
> `readonly` **events$**: `Observable`\<`never`\> = `EMPTY`
|
|
26
26
|
|
|
27
|
-
Defined in: [disabled-authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
27
|
+
Defined in: [disabled-authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L12)
|
|
28
28
|
|
|
29
29
|
#### Implementation of
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ Defined in: [disabled-authentication.service.ts:12](https://gitlab.com/rxap/pack
|
|
|
36
36
|
|
|
37
37
|
> `readonly` **isAuthenticated$**: `Observable`\<`boolean`\>
|
|
38
38
|
|
|
39
|
-
Defined in: [disabled-authentication.service.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
39
|
+
Defined in: [disabled-authentication.service.ts:11](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L11)
|
|
40
40
|
|
|
41
41
|
#### Implementation of
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ Defined in: [disabled-authentication.service.ts:11](https://gitlab.com/rxap/pack
|
|
|
48
48
|
|
|
49
49
|
> **isAuthenticated**(): `Promise`\<`boolean`\>
|
|
50
50
|
|
|
51
|
-
Defined in: [disabled-authentication.service.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
51
|
+
Defined in: [disabled-authentication.service.ts:18](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L18)
|
|
52
52
|
|
|
53
53
|
#### Returns
|
|
54
54
|
|
|
@@ -64,7 +64,7 @@ Defined in: [disabled-authentication.service.ts:18](https://gitlab.com/rxap/pack
|
|
|
64
64
|
|
|
65
65
|
> **signOut**(): `Promise`\<`void`\>
|
|
66
66
|
|
|
67
|
-
Defined in: [disabled-authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
67
|
+
Defined in: [disabled-authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L14)
|
|
68
68
|
|
|
69
69
|
#### Returns
|
|
70
70
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RegisterService
|
|
4
4
|
|
|
5
|
-
Defined in: [register.service.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [register.service.ts:5](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/register.service.ts#L5)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [register.service.ts:5](https://gitlab.com/rxap/packages/-/blob/d775
|
|
|
10
10
|
|
|
11
11
|
> **new RegisterService**(): [`RegisterService`](../wiki/Class.RegisterService)
|
|
12
12
|
|
|
13
|
-
Defined in: [register.service.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [register.service.ts:7](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/register.service.ts#L7)
|
|
14
14
|
|
|
15
15
|
#### Returns
|
|
16
16
|
|
|
@@ -22,7 +22,7 @@ Defined in: [register.service.ts:7](https://gitlab.com/rxap/packages/-/blob/d775
|
|
|
22
22
|
|
|
23
23
|
> **register**(`email`, `password`): `Promise`\<`boolean`\>
|
|
24
24
|
|
|
25
|
-
Defined in: [register.service.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [register.service.ts:11](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/register.service.ts#L11)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapAuthenticationGuard
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication.guard.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [authentication.guard.ts:16](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.guard.ts#L16)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [authentication.guard.ts:16](https://gitlab.com/rxap/packages/-/blob
|
|
|
10
10
|
|
|
11
11
|
> **new RxapAuthenticationGuard**(`authentication`, `router`, `deactivated`): [`RxapAuthenticationGuard`](../wiki/Class.RxapAuthenticationGuard)
|
|
12
12
|
|
|
13
|
-
Defined in: [authentication.guard.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [authentication.guard.ts:20](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.guard.ts#L20)
|
|
14
14
|
|
|
15
15
|
#### Parameters
|
|
16
16
|
|
|
@@ -36,7 +36,7 @@ Defined in: [authentication.guard.ts:20](https://gitlab.com/rxap/packages/-/blob
|
|
|
36
36
|
|
|
37
37
|
> **authentication**: [`RxapAuthenticationService`](../wiki/Class.RxapAuthenticationService)
|
|
38
38
|
|
|
39
|
-
Defined in: [authentication.guard.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
39
|
+
Defined in: [authentication.guard.ts:22](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.guard.ts#L22)
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Defined in: [authentication.guard.ts:22](https://gitlab.com/rxap/packages/-/blob
|
|
|
44
44
|
|
|
45
45
|
> **lastUrl**: `null` \| `string` = `null`
|
|
46
46
|
|
|
47
|
-
Defined in: [authentication.guard.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
47
|
+
Defined in: [authentication.guard.ts:18](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.guard.ts#L18)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
@@ -52,7 +52,7 @@ Defined in: [authentication.guard.ts:18](https://gitlab.com/rxap/packages/-/blob
|
|
|
52
52
|
|
|
53
53
|
> **router**: `Router`
|
|
54
54
|
|
|
55
|
-
Defined in: [authentication.guard.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [authentication.guard.ts:24](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.guard.ts#L24)
|
|
56
56
|
|
|
57
57
|
## Methods
|
|
58
58
|
|
|
@@ -60,7 +60,7 @@ Defined in: [authentication.guard.ts:24](https://gitlab.com/rxap/packages/-/blob
|
|
|
60
60
|
|
|
61
61
|
> **canActivate**(`route`, `state`): `Promise`\<`boolean` \| `UrlTree`\>
|
|
62
62
|
|
|
63
|
-
Defined in: [authentication.guard.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
63
|
+
Defined in: [authentication.guard.ts:31](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.guard.ts#L31)
|
|
64
64
|
|
|
65
65
|
#### Parameters
|
|
66
66
|
|
|
@@ -82,7 +82,7 @@ Defined in: [authentication.guard.ts:31](https://gitlab.com/rxap/packages/-/blob
|
|
|
82
82
|
|
|
83
83
|
> **canActivateChild**(`childRoute`, `state`): `Promise`\<`boolean` \| `UrlTree`\>
|
|
84
84
|
|
|
85
|
-
Defined in: [authentication.guard.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
85
|
+
Defined in: [authentication.guard.ts:39](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.guard.ts#L39)
|
|
86
86
|
|
|
87
87
|
#### Parameters
|
|
88
88
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapAuthenticationService
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L31)
|
|
6
6
|
|
|
7
7
|
## Implements
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [authentication.service.ts:31](https://gitlab.com/rxap/packages/-/bl
|
|
|
14
14
|
|
|
15
15
|
> **new RxapAuthenticationService**(): [`RxapAuthenticationService`](../wiki/Class.RxapAuthenticationService)
|
|
16
16
|
|
|
17
|
-
Defined in: [authentication.service.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [authentication.service.ts:39](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L39)
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@ Defined in: [authentication.service.ts:39](https://gitlab.com/rxap/packages/-/bl
|
|
|
26
26
|
|
|
27
27
|
> `readonly` **events$**: `ReplaySubject`\<[`AuthenticationEvent`](../wiki/Interface.AuthenticationEvent)\>
|
|
28
28
|
|
|
29
|
-
Defined in: [authentication.service.ts:35](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [authentication.service.ts:35](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L35)
|
|
30
30
|
|
|
31
31
|
#### Implementation of
|
|
32
32
|
|
|
@@ -38,7 +38,7 @@ Defined in: [authentication.service.ts:35](https://gitlab.com/rxap/packages/-/bl
|
|
|
38
38
|
|
|
39
39
|
> **isAuthenticated$**: `BehaviorSubject`\<`null` \| `boolean`\>
|
|
40
40
|
|
|
41
|
-
Defined in: [authentication.service.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
Defined in: [authentication.service.ts:33](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L33)
|
|
42
42
|
|
|
43
43
|
#### Implementation of
|
|
44
44
|
|
|
@@ -50,7 +50,7 @@ Defined in: [authentication.service.ts:33](https://gitlab.com/rxap/packages/-/bl
|
|
|
50
50
|
|
|
51
51
|
> **isAuthenticated**(): `Promise`\<`boolean`\>
|
|
52
52
|
|
|
53
|
-
Defined in: [authentication.service.ts:49](https://gitlab.com/rxap/packages/-/blob/
|
|
53
|
+
Defined in: [authentication.service.ts:49](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L49)
|
|
54
54
|
|
|
55
55
|
#### Returns
|
|
56
56
|
|
|
@@ -66,7 +66,7 @@ Defined in: [authentication.service.ts:49](https://gitlab.com/rxap/packages/-/bl
|
|
|
66
66
|
|
|
67
67
|
> **signOut**(): `Promise`\<`void`\>
|
|
68
68
|
|
|
69
|
-
Defined in: [authentication.service.ts:43](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [authentication.service.ts:43](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L43)
|
|
70
70
|
|
|
71
71
|
#### Returns
|
|
72
72
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: SignOutDirective
|
|
4
4
|
|
|
5
|
-
Defined in: [sign-out.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [sign-out.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/sign-out.directive.ts#L13)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [sign-out.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/d
|
|
|
10
10
|
|
|
11
11
|
> **new SignOutDirective**(`auth`): [`SignOutDirective`](../wiki/Class.SignOutDirective)
|
|
12
12
|
|
|
13
|
-
Defined in: [sign-out.directive.ts:21](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [sign-out.directive.ts:21](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/sign-out.directive.ts#L21)
|
|
14
14
|
|
|
15
15
|
#### Parameters
|
|
16
16
|
|
|
@@ -28,7 +28,7 @@ Defined in: [sign-out.directive.ts:21](https://gitlab.com/rxap/packages/-/blob/d
|
|
|
28
28
|
|
|
29
29
|
> **failure**: `EventEmitter`\<`Error`\>
|
|
30
30
|
|
|
31
|
-
Defined in: [sign-out.directive.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
31
|
+
Defined in: [sign-out.directive.ts:19](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/sign-out.directive.ts#L19)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ Defined in: [sign-out.directive.ts:19](https://gitlab.com/rxap/packages/-/blob/d
|
|
|
36
36
|
|
|
37
37
|
> **successful**: `EventEmitter`\<`void`\>
|
|
38
38
|
|
|
39
|
-
Defined in: [sign-out.directive.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
39
|
+
Defined in: [sign-out.directive.ts:16](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/sign-out.directive.ts#L16)
|
|
40
40
|
|
|
41
41
|
## Methods
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Defined in: [sign-out.directive.ts:16](https://gitlab.com/rxap/packages/-/blob/d
|
|
|
44
44
|
|
|
45
45
|
> **onClick**(): `Promise`\<`void`\>
|
|
46
46
|
|
|
47
|
-
Defined in: [sign-out.directive.ts:25](https://gitlab.com/rxap/packages/-/blob/
|
|
47
|
+
Defined in: [sign-out.directive.ts:25](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/sign-out.directive.ts#L25)
|
|
48
48
|
|
|
49
49
|
#### Returns
|
|
50
50
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Enumeration: AuthenticationEventType
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication.service.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [authentication.service.ts:20](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L20)
|
|
6
6
|
|
|
7
7
|
## Enumeration Members
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [authentication.service.ts:20](https://gitlab.com/rxap/packages/-/bl
|
|
|
10
10
|
|
|
11
11
|
> **OnAuthError**: `"on-auth-error"`
|
|
12
12
|
|
|
13
|
-
Defined in: [authentication.service.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [authentication.service.ts:22](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L22)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [authentication.service.ts:22](https://gitlab.com/rxap/packages/-/bl
|
|
|
18
18
|
|
|
19
19
|
> **OnAuthSuccess**: `"on-auth-success"`
|
|
20
20
|
|
|
21
|
-
Defined in: [authentication.service.ts:21](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [authentication.service.ts:21](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L21)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,4 +26,4 @@ Defined in: [authentication.service.ts:21](https://gitlab.com/rxap/packages/-/bl
|
|
|
26
26
|
|
|
27
27
|
> **OnLogout**: `"on-logout"`
|
|
28
28
|
|
|
29
|
-
Defined in: [authentication.service.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [authentication.service.ts:23](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L23)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **BearerTokenInterceptor**(`req`, `next`): `Observable`\<`HttpEvent`\<`unknown`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [bearer-token.interceptor.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [bearer-token.interceptor.ts:10](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/bearer-token.interceptor.ts#L10)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **provideAuthentication**(`service`, ...`additionalProviders`): `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [provide.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide.ts:9](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/provide.ts#L9)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **withDisabledAuthentication**(`disabled`): `Provider`
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:27](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L27)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **withInitialAuthenticationState**(`state`): `Provider`
|
|
6
6
|
|
|
7
|
-
Defined in: [provide.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide.ts:22](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/provide.ts#L22)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
package/docs/wiki/Home.md
CHANGED
|
@@ -19,7 +19,7 @@ yarn add @rxap/authentication
|
|
|
19
19
|
```
|
|
20
20
|
**Install peer dependencies:**
|
|
21
21
|
```bash
|
|
22
|
-
yarn add @angular/common
|
|
22
|
+
yarn add @angular/common @angular/core @angular/router @rxap/utilities rxjs
|
|
23
23
|
```
|
|
24
24
|
**Execute the init generator:**
|
|
25
25
|
```bash
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: AuthenticationAccessToken
|
|
4
4
|
|
|
5
|
-
Defined in: [tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L9)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ Defined in: [tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/d77504e6fd7144
|
|
|
18
18
|
|
|
19
19
|
> **token**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L10)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,4 +26,4 @@ Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/d77504e6fd714
|
|
|
26
26
|
|
|
27
27
|
> `optional` **valid**: `boolean`
|
|
28
28
|
|
|
29
|
-
Defined in: [tokens.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [tokens.ts:11](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L11)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: AuthenticationEvent
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L26)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -18,4 +18,4 @@ Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/bl
|
|
|
18
18
|
|
|
19
19
|
> **type**: [`AuthenticationEventType`](../wiki/Enumeration.AuthenticationEventType)
|
|
20
20
|
|
|
21
|
-
Defined in: [authentication.service.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [authentication.service.ts:27](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L27)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: IAuthenticationService
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L12)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/bl
|
|
|
10
10
|
|
|
11
11
|
> **events$**: `Observable`\<[`AuthenticationEvent`](../wiki/Interface.AuthenticationEvent)\>
|
|
12
12
|
|
|
13
|
-
Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L14)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/bl
|
|
|
18
18
|
|
|
19
19
|
> **isAuthenticated$**: `Observable`\<`null` \| `boolean`\>
|
|
20
20
|
|
|
21
|
-
Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L13)
|
|
22
22
|
|
|
23
23
|
## Methods
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/bl
|
|
|
26
26
|
|
|
27
27
|
> **isAuthenticated**(): `Promise`\<`boolean`\>
|
|
28
28
|
|
|
29
|
-
Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L17)
|
|
30
30
|
|
|
31
31
|
#### Returns
|
|
32
32
|
|
|
@@ -38,7 +38,7 @@ Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/bl
|
|
|
38
38
|
|
|
39
39
|
> **signOut**(): `Promise`\<`void`\>
|
|
40
40
|
|
|
41
|
-
Defined in: [authentication.service.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
Defined in: [authentication.service.ts:15](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/authentication.service.ts#L15)
|
|
42
42
|
|
|
43
43
|
#### Returns
|
|
44
44
|
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_AUTHENTICATION\_ACCESS\_TOKEN**: `InjectionToken`\<`BehaviorSubject`\<`null` \| [`AuthenticationAccessToken`](../wiki/Interface.AuthenticationAccessToken)\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L14)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_AUTHENTICATION\_DEACTIVATED**: `InjectionToken`\<`boolean`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L7)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_INITIAL\_AUTHENTICATION\_STATE**: `InjectionToken`\<`boolean`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/eb8968c9726c4f3b80ca9361d0e0c70bd1f34695/packages/angular/authentication/src/lib/tokens.ts#L22)
|
package/docs/wiki/globals.md
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.0.
|
|
2
|
+
"version": "19.0.3-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",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@angular/common": "^19.1.3",
|
|
12
12
|
"@angular/core": "^19.1.3",
|
|
13
13
|
"@angular/router": "^19.1.3",
|
|
14
|
-
"@rxap/utilities": "^16.4.3
|
|
14
|
+
"@rxap/utilities": "^16.4.3",
|
|
15
15
|
"rxjs": "^7.8.1"
|
|
16
16
|
},
|
|
17
17
|
"author": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"package": "@rxap/utilities",
|
|
56
|
-
"version": "16.4.3
|
|
56
|
+
"version": "16.4.3"
|
|
57
57
|
}
|
|
58
58
|
]
|
|
59
59
|
},
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"schematics": "./generators.json",
|
|
70
70
|
"sideEffects": false,
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "eb8968c9726c4f3b80ca9361d0e0c70bd1f34695",
|
|
72
72
|
"module": "fesm2022/rxap-authentication.mjs",
|
|
73
73
|
"typings": "index.d.ts",
|
|
74
74
|
"exports": {
|