@twin.org/api-auth-entity-storage-service 0.0.2-next.1 → 0.0.2-next.3
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/dist/cjs/index.cjs +0 -12
- package/dist/esm/index.mjs +0 -12
- package/dist/types/processors/authHeaderProcessor.d.ts +0 -4
- package/dist/types/services/entityStorageAuthenticationAdminService.d.ts +0 -4
- package/dist/types/services/entityStorageAuthenticationService.d.ts +0 -4
- package/docs/changelog.md +32 -0
- package/docs/reference/classes/AuthHeaderProcessor.md +0 -8
- package/docs/reference/classes/EntityStorageAuthenticationAdminService.md +0 -8
- package/docs/reference/classes/EntityStorageAuthenticationService.md +0 -8
- package/package.json +4 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -149,10 +149,6 @@ class TokenHelper {
|
|
|
149
149
|
* Handle a JWT token in the authorization header or cookies and validate it to populate request context identity.
|
|
150
150
|
*/
|
|
151
151
|
class AuthHeaderProcessor {
|
|
152
|
-
/**
|
|
153
|
-
* The namespace supported by the processor.
|
|
154
|
-
*/
|
|
155
|
-
static NAMESPACE = "auth-header";
|
|
156
152
|
/**
|
|
157
153
|
* The default name for the access token as a cookie.
|
|
158
154
|
* @internal
|
|
@@ -550,10 +546,6 @@ class PasswordHelper {
|
|
|
550
546
|
* Implementation of the authentication component using entity storage.
|
|
551
547
|
*/
|
|
552
548
|
class EntityStorageAuthenticationAdminService {
|
|
553
|
-
/**
|
|
554
|
-
* The namespace supported by the authentication service.
|
|
555
|
-
*/
|
|
556
|
-
static NAMESPACE = "authentication-admin-entity-storage";
|
|
557
549
|
/**
|
|
558
550
|
* The minimum password length.
|
|
559
551
|
* @internal
|
|
@@ -685,10 +677,6 @@ class EntityStorageAuthenticationAdminService {
|
|
|
685
677
|
* Implementation of the authentication component using entity storage.
|
|
686
678
|
*/
|
|
687
679
|
class EntityStorageAuthenticationService {
|
|
688
|
-
/**
|
|
689
|
-
* The namespace supported by the authentication service.
|
|
690
|
-
*/
|
|
691
|
-
static NAMESPACE = "authentication-entity-storage";
|
|
692
680
|
/**
|
|
693
681
|
* Default TTL in minutes.
|
|
694
682
|
* @internal
|
package/dist/esm/index.mjs
CHANGED
|
@@ -147,10 +147,6 @@ class TokenHelper {
|
|
|
147
147
|
* Handle a JWT token in the authorization header or cookies and validate it to populate request context identity.
|
|
148
148
|
*/
|
|
149
149
|
class AuthHeaderProcessor {
|
|
150
|
-
/**
|
|
151
|
-
* The namespace supported by the processor.
|
|
152
|
-
*/
|
|
153
|
-
static NAMESPACE = "auth-header";
|
|
154
150
|
/**
|
|
155
151
|
* The default name for the access token as a cookie.
|
|
156
152
|
* @internal
|
|
@@ -548,10 +544,6 @@ class PasswordHelper {
|
|
|
548
544
|
* Implementation of the authentication component using entity storage.
|
|
549
545
|
*/
|
|
550
546
|
class EntityStorageAuthenticationAdminService {
|
|
551
|
-
/**
|
|
552
|
-
* The namespace supported by the authentication service.
|
|
553
|
-
*/
|
|
554
|
-
static NAMESPACE = "authentication-admin-entity-storage";
|
|
555
547
|
/**
|
|
556
548
|
* The minimum password length.
|
|
557
549
|
* @internal
|
|
@@ -683,10 +675,6 @@ class EntityStorageAuthenticationAdminService {
|
|
|
683
675
|
* Implementation of the authentication component using entity storage.
|
|
684
676
|
*/
|
|
685
677
|
class EntityStorageAuthenticationService {
|
|
686
|
-
/**
|
|
687
|
-
* The namespace supported by the authentication service.
|
|
688
|
-
*/
|
|
689
|
-
static NAMESPACE = "authentication-entity-storage";
|
|
690
678
|
/**
|
|
691
679
|
* Default TTL in minutes.
|
|
692
680
|
* @internal
|
|
@@ -4,10 +4,6 @@ import type { IAuthHeaderProcessorConstructorOptions } from "../models/IAuthHead
|
|
|
4
4
|
* Handle a JWT token in the authorization header or cookies and validate it to populate request context identity.
|
|
5
5
|
*/
|
|
6
6
|
export declare class AuthHeaderProcessor implements IBaseRouteProcessor {
|
|
7
|
-
/**
|
|
8
|
-
* The namespace supported by the processor.
|
|
9
|
-
*/
|
|
10
|
-
static readonly NAMESPACE: string;
|
|
11
7
|
/**
|
|
12
8
|
* Runtime name for the class.
|
|
13
9
|
*/
|
|
@@ -4,10 +4,6 @@ import type { IEntityStorageAuthenticationAdminServiceConstructorOptions } from
|
|
|
4
4
|
* Implementation of the authentication component using entity storage.
|
|
5
5
|
*/
|
|
6
6
|
export declare class EntityStorageAuthenticationAdminService implements IAuthenticationAdminComponent {
|
|
7
|
-
/**
|
|
8
|
-
* The namespace supported by the authentication service.
|
|
9
|
-
*/
|
|
10
|
-
static readonly NAMESPACE: string;
|
|
11
7
|
/**
|
|
12
8
|
* Runtime name for the class.
|
|
13
9
|
*/
|
|
@@ -4,10 +4,6 @@ import type { IEntityStorageAuthenticationServiceConstructorOptions } from "../m
|
|
|
4
4
|
* Implementation of the authentication component using entity storage.
|
|
5
5
|
*/
|
|
6
6
|
export declare class EntityStorageAuthenticationService implements IAuthenticationComponent {
|
|
7
|
-
/**
|
|
8
|
-
* The namespace supported by the authentication service.
|
|
9
|
-
*/
|
|
10
|
-
static readonly NAMESPACE: string;
|
|
11
7
|
/**
|
|
12
8
|
* Runtime name for the class.
|
|
13
9
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @twin.org/api-auth-entity-storage-service - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-service-v0.0.2-next.2...api-auth-entity-storage-service-v0.0.2-next.3) (2025-07-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* remove unused namespace ([08478f2](https://github.com/twinfoundation/api/commit/08478f27efda9beb0271fdb22f6972e918361965))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/api-auth-entity-storage-models bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
16
|
+
* @twin.org/api-core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
17
|
+
* @twin.org/api-models bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
18
|
+
|
|
19
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-service-v0.0.2-next.1...api-auth-entity-storage-service-v0.0.2-next.2) (2025-07-17)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Miscellaneous Chores
|
|
23
|
+
|
|
24
|
+
* **api-auth-entity-storage-service:** Synchronize repo versions
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* The following workspace dependencies were updated
|
|
30
|
+
* dependencies
|
|
31
|
+
* @twin.org/api-auth-entity-storage-models bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
32
|
+
* @twin.org/api-core bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
33
|
+
* @twin.org/api-models bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
34
|
+
|
|
3
35
|
## [0.0.2-next.1](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-service-v0.0.2-next.0...api-auth-entity-storage-service-v0.0.2-next.1) (2025-07-08)
|
|
4
36
|
|
|
5
37
|
|
|
@@ -28,14 +28,6 @@ Options for the processor.
|
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
31
|
-
### NAMESPACE
|
|
32
|
-
|
|
33
|
-
> `readonly` `static` **NAMESPACE**: `string` = `"auth-header"`
|
|
34
|
-
|
|
35
|
-
The namespace supported by the processor.
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
31
|
### CLASS\_NAME
|
|
40
32
|
|
|
41
33
|
> `readonly` **CLASS\_NAME**: `string`
|
|
@@ -28,14 +28,6 @@ The dependencies for the identity connector.
|
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
31
|
-
### NAMESPACE
|
|
32
|
-
|
|
33
|
-
> `readonly` `static` **NAMESPACE**: `string` = `"authentication-admin-entity-storage"`
|
|
34
|
-
|
|
35
|
-
The namespace supported by the authentication service.
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
31
|
### CLASS\_NAME
|
|
40
32
|
|
|
41
33
|
> `readonly` **CLASS\_NAME**: `string`
|
|
@@ -28,14 +28,6 @@ The dependencies for the identity connector.
|
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
31
|
-
### NAMESPACE
|
|
32
|
-
|
|
33
|
-
> `readonly` `static` **NAMESPACE**: `string` = `"authentication-entity-storage"`
|
|
34
|
-
|
|
35
|
-
The namespace supported by the authentication service.
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
31
|
### CLASS\_NAME
|
|
40
32
|
|
|
41
33
|
> `readonly` **CLASS\_NAME**: `string`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-auth-entity-storage-service",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.3",
|
|
4
4
|
"description": "Auth Entity Storage contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-auth-entity-storage-models": "0.0.2-next.
|
|
18
|
-
"@twin.org/api-core": "0.0.2-next.
|
|
19
|
-
"@twin.org/api-models": "0.0.2-next.
|
|
17
|
+
"@twin.org/api-auth-entity-storage-models": "0.0.2-next.3",
|
|
18
|
+
"@twin.org/api-core": "0.0.2-next.3",
|
|
19
|
+
"@twin.org/api-models": "0.0.2-next.3",
|
|
20
20
|
"@twin.org/core": "next",
|
|
21
21
|
"@twin.org/crypto": "next",
|
|
22
22
|
"@twin.org/entity": "next",
|