@canton-network/core-wallet-auth 0.4.0 → 0.6.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/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Wallet Auth
|
|
2
2
|
|
|
3
|
-
This workspace contains the authentication logic and interfaces used by the
|
|
3
|
+
This workspace contains the authentication logic and interfaces used by the Wallet Gateway.
|
|
4
4
|
It provides abstractions for authentication services, user identity management, and integration points for different identity providers (IDPs), such as password-based and OAuth2/OIDC-based authentication.
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
@@ -39,7 +39,7 @@ The `verifyToken` method takes an access token and returns an `AuthContext` if t
|
|
|
39
39
|
## JWT Implementation
|
|
40
40
|
|
|
41
41
|
For JWT-based authentication, see the [`JwtAuthService`](../clients/remote/src/auth/JwtAuthService.ts) implementation.
|
|
42
|
-
This service verifies JWT tokens using remote JWK sets and integrates with the
|
|
42
|
+
This service verifies JWT tokens using remote JWK sets and integrates with the Wallet Gateway's network configuration to dynamically resolve the appropriate identity provider for each request.
|
|
43
43
|
|
|
44
|
-
It is important to note that, since the
|
|
44
|
+
It is important to note that, since the Wallet Gateway supports multiple identity providers (IDPs), the token issuer (iss) is used as the unique identifier for each IDP.
|
|
45
45
|
This component therefore collaborates with the [Store](../wallet-store/src/Store.ts), which enables lookup of the configured IDP based on the issuer value.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canton-network/core-wallet-auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Provides authentication middleware and user management for the
|
|
5
|
+
"description": "Provides authentication middleware and user management for the Wallet Gateway",
|
|
6
6
|
"repository": "github:hyperledger-labs/splice-wallet-kernel",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"author": "Marc Juchli <marc.juchli@digitalasset.com>",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typescript": "^5.8.3"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@canton-network/core-types": "^0.
|
|
29
|
+
"@canton-network/core-types": "^0.6.0"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist/**"
|