@rxap/authentication 21.0.1-dev.0 → 21.0.1-dev.1
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 +6 -0
- package/compodoc/changelog.html +5 -0
- package/compodoc/dependencies.html +1 -1
- package/compodoc/directives/SignOutDirective.html +80 -163
- package/compodoc/injectables/AuthenticationRoutingService.html +10 -70
- package/compodoc/injectables/RxapAuthenticationGuard.html +13 -124
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +330 -525
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/search.js +1 -1
- 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 +4 -18
- package/docs/markdown/classes/DisabledAuthenticationService.md +6 -6
- package/docs/markdown/classes/RegisterService.md +4 -4
- package/docs/markdown/classes/RxapAuthenticationGuard.md +8 -24
- package/docs/markdown/classes/RxapAuthenticationService.md +7 -7
- package/docs/markdown/classes/SignOutDirective.md +8 -16
- 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 +3 -17
- package/docs/wiki/Class.DisabledAuthenticationService.md +5 -5
- package/docs/wiki/Class.RegisterService.md +3 -3
- package/docs/wiki/Class.RxapAuthenticationGuard.md +7 -23
- package/docs/wiki/Class.RxapAuthenticationService.md +6 -6
- package/docs/wiki/Class.SignOutDirective.md +7 -15
- 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 +23 -49
- package/fesm2022/rxap-authentication.mjs.map +1 -1
- package/package.json +3 -3
- package/types/rxap-authentication.d.ts +14 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v21.0.1-dev.
|
|
1
|
+
[**@rxap/authentication v21.0.1-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AuthenticationEvent
|
|
8
8
|
|
|
9
|
-
Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.service.ts#L26)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -22,4 +22,4 @@ Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/bl
|
|
|
22
22
|
|
|
23
23
|
> **type**: [`AuthenticationEventType`](../enumerations/AuthenticationEventType.md)
|
|
24
24
|
|
|
25
|
-
Defined in: [authentication.service.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [authentication.service.ts:27](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.service.ts#L27)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v21.0.1-dev.
|
|
1
|
+
[**@rxap/authentication v21.0.1-dev.1**](../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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.service.ts#L15)
|
|
46
46
|
|
|
47
47
|
#### Returns
|
|
48
48
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v21.0.1-dev.
|
|
1
|
+
[**@rxap/authentication v21.0.1-dev.1**](../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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/tokens.ts#L14)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v21.0.1-dev.
|
|
1
|
+
[**@rxap/authentication v21.0.1-dev.1**](../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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/tokens.ts#L7)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/authentication v21.0.1-dev.
|
|
1
|
+
[**@rxap/authentication v21.0.1-dev.1**](../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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/tokens.ts#L22)
|
|
@@ -2,29 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: AuthenticationRoutingService
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication-routing.service.ts:
|
|
5
|
+
Defined in: [authentication-routing.service.ts:10](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication-routing.service.ts#L10)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
9
9
|
### new AuthenticationRoutingService()
|
|
10
10
|
|
|
11
|
-
> **new AuthenticationRoutingService**(
|
|
11
|
+
> **new AuthenticationRoutingService**(): [`AuthenticationRoutingService`](../wiki/Class.AuthenticationRoutingService)
|
|
12
12
|
|
|
13
|
-
Defined in: [authentication-routing.service.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
14
|
-
|
|
15
|
-
#### Parameters
|
|
16
|
-
|
|
17
|
-
##### router
|
|
18
|
-
|
|
19
|
-
`Router`
|
|
20
|
-
|
|
21
|
-
##### authenticationService
|
|
22
|
-
|
|
23
|
-
[`RxapAuthenticationService`](../wiki/Class.RxapAuthenticationService)
|
|
24
|
-
|
|
25
|
-
##### deactivated
|
|
26
|
-
|
|
27
|
-
`null` | `boolean`
|
|
13
|
+
Defined in: [authentication-routing.service.ts:16](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication-routing.service.ts#L16)
|
|
28
14
|
|
|
29
15
|
#### Returns
|
|
30
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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/b20e
|
|
|
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/be7e221de2deba638078b6c685a94021679a1a5b/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/b20e
|
|
|
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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/register.service.ts#L11)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -2,29 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapAuthenticationGuard
|
|
4
4
|
|
|
5
|
-
Defined in: [authentication.guard.ts:
|
|
5
|
+
Defined in: [authentication.guard.ts:12](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.guard.ts#L12)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
9
9
|
### new RxapAuthenticationGuard()
|
|
10
10
|
|
|
11
|
-
> **new RxapAuthenticationGuard**(
|
|
12
|
-
|
|
13
|
-
Defined in: [authentication.guard.ts:20](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/authentication/src/lib/authentication.guard.ts#L20)
|
|
14
|
-
|
|
15
|
-
#### Parameters
|
|
16
|
-
|
|
17
|
-
##### authentication
|
|
18
|
-
|
|
19
|
-
[`RxapAuthenticationService`](../wiki/Class.RxapAuthenticationService)
|
|
20
|
-
|
|
21
|
-
##### router
|
|
22
|
-
|
|
23
|
-
`Router`
|
|
24
|
-
|
|
25
|
-
##### deactivated
|
|
26
|
-
|
|
27
|
-
`null` | `boolean`
|
|
11
|
+
> **new RxapAuthenticationGuard**(): [`RxapAuthenticationGuard`](../wiki/Class.RxapAuthenticationGuard)
|
|
28
12
|
|
|
29
13
|
#### Returns
|
|
30
14
|
|
|
@@ -36,7 +20,7 @@ Defined in: [authentication.guard.ts:20](https://gitlab.com/rxap/packages/-/blob
|
|
|
36
20
|
|
|
37
21
|
> **authentication**: [`RxapAuthenticationService`](../wiki/Class.RxapAuthenticationService)
|
|
38
22
|
|
|
39
|
-
Defined in: [authentication.guard.ts:
|
|
23
|
+
Defined in: [authentication.guard.ts:13](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.guard.ts#L13)
|
|
40
24
|
|
|
41
25
|
***
|
|
42
26
|
|
|
@@ -44,7 +28,7 @@ Defined in: [authentication.guard.ts:22](https://gitlab.com/rxap/packages/-/blob
|
|
|
44
28
|
|
|
45
29
|
> **lastUrl**: `null` \| `string` = `null`
|
|
46
30
|
|
|
47
|
-
Defined in: [authentication.guard.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
31
|
+
Defined in: [authentication.guard.ts:18](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.guard.ts#L18)
|
|
48
32
|
|
|
49
33
|
***
|
|
50
34
|
|
|
@@ -52,7 +36,7 @@ Defined in: [authentication.guard.ts:18](https://gitlab.com/rxap/packages/-/blob
|
|
|
52
36
|
|
|
53
37
|
> **router**: `Router`
|
|
54
38
|
|
|
55
|
-
Defined in: [authentication.guard.ts:
|
|
39
|
+
Defined in: [authentication.guard.ts:14](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.guard.ts#L14)
|
|
56
40
|
|
|
57
41
|
## Methods
|
|
58
42
|
|
|
@@ -60,7 +44,7 @@ Defined in: [authentication.guard.ts:24](https://gitlab.com/rxap/packages/-/blob
|
|
|
60
44
|
|
|
61
45
|
> **canActivate**(`route`, `state`): `Promise`\<`boolean` \| `UrlTree`\>
|
|
62
46
|
|
|
63
|
-
Defined in: [authentication.guard.ts:
|
|
47
|
+
Defined in: [authentication.guard.ts:20](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.guard.ts#L20)
|
|
64
48
|
|
|
65
49
|
#### Parameters
|
|
66
50
|
|
|
@@ -82,7 +66,7 @@ Defined in: [authentication.guard.ts:31](https://gitlab.com/rxap/packages/-/blob
|
|
|
82
66
|
|
|
83
67
|
> **canActivateChild**(`childRoute`, `state`): `Promise`\<`boolean` \| `UrlTree`\>
|
|
84
68
|
|
|
85
|
-
Defined in: [authentication.guard.ts:
|
|
69
|
+
Defined in: [authentication.guard.ts:28](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.guard.ts#L28)
|
|
86
70
|
|
|
87
71
|
#### Parameters
|
|
88
72
|
|
|
@@ -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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/authentication.service.ts#L43)
|
|
70
70
|
|
|
71
71
|
#### Returns
|
|
72
72
|
|
|
@@ -2,21 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: SignOutDirective
|
|
4
4
|
|
|
5
|
-
Defined in: [sign-out.directive.ts:
|
|
5
|
+
Defined in: [sign-out.directive.ts:11](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/sign-out.directive.ts#L11)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
9
9
|
### new SignOutDirective()
|
|
10
10
|
|
|
11
|
-
> **new SignOutDirective**(
|
|
12
|
-
|
|
13
|
-
Defined in: [sign-out.directive.ts:21](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/authentication/src/lib/sign-out.directive.ts#L21)
|
|
14
|
-
|
|
15
|
-
#### Parameters
|
|
16
|
-
|
|
17
|
-
##### auth
|
|
18
|
-
|
|
19
|
-
[`RxapAuthenticationService`](../wiki/Class.RxapAuthenticationService)
|
|
11
|
+
> **new SignOutDirective**(): [`SignOutDirective`](../wiki/Class.SignOutDirective)
|
|
20
12
|
|
|
21
13
|
#### Returns
|
|
22
14
|
|
|
@@ -26,17 +18,17 @@ Defined in: [sign-out.directive.ts:21](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
26
18
|
|
|
27
19
|
### failure
|
|
28
20
|
|
|
29
|
-
> **failure**: `
|
|
21
|
+
> `readonly` **failure**: `OutputEmitterRef`\<`Error`\>
|
|
30
22
|
|
|
31
|
-
Defined in: [sign-out.directive.ts:
|
|
23
|
+
Defined in: [sign-out.directive.ts:17](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/sign-out.directive.ts#L17)
|
|
32
24
|
|
|
33
25
|
***
|
|
34
26
|
|
|
35
27
|
### successful
|
|
36
28
|
|
|
37
|
-
> **successful**: `
|
|
29
|
+
> `readonly` **successful**: `OutputEmitterRef`\<`void`\>
|
|
38
30
|
|
|
39
|
-
Defined in: [sign-out.directive.ts:
|
|
31
|
+
Defined in: [sign-out.directive.ts:15](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/sign-out.directive.ts#L15)
|
|
40
32
|
|
|
41
33
|
## Methods
|
|
42
34
|
|
|
@@ -44,7 +36,7 @@ Defined in: [sign-out.directive.ts:16](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
44
36
|
|
|
45
37
|
> **onClick**(): `Promise`\<`void`\>
|
|
46
38
|
|
|
47
|
-
Defined in: [sign-out.directive.ts:
|
|
39
|
+
Defined in: [sign-out.directive.ts:19](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/sign-out.directive.ts#L19)
|
|
48
40
|
|
|
49
41
|
#### Returns
|
|
50
42
|
|
|
@@ -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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/provide.ts#L22)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -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/be7e221de2deba638078b6c685a94021679a1a5b/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/b20edab0a4af19
|
|
|
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/be7e221de2deba638078b6c685a94021679a1a5b/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/b20edab0a4af1
|
|
|
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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/authentication/src/lib/tokens.ts#L22)
|
package/docs/wiki/globals.md
CHANGED