@microsoft/ccf-app 4.0.0-rc0 → 4.0.0-rc2
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/endpoints.d.ts +1 -7
- package/package.json +2 -2
package/endpoints.d.ts
CHANGED
|
@@ -120,12 +120,6 @@ export interface UserCertAuthnIdentity extends UserMemberAuthnIdentityCommon {
|
|
|
120
120
|
export interface MemberCertAuthnIdentity extends UserMemberAuthnIdentityCommon {
|
|
121
121
|
policy: "member_cert";
|
|
122
122
|
}
|
|
123
|
-
export interface UserSignatureAuthnIdentity extends UserMemberAuthnIdentityCommon {
|
|
124
|
-
policy: "user_signature";
|
|
125
|
-
}
|
|
126
|
-
export interface MemberSignatureAuthnIdentity extends UserMemberAuthnIdentityCommon {
|
|
127
|
-
policy: "member_signature";
|
|
128
|
-
}
|
|
129
123
|
export interface JwtAuthnIdentity extends AuthnIdentityCommon {
|
|
130
124
|
policy: "jwt";
|
|
131
125
|
jwt: {
|
|
@@ -152,7 +146,7 @@ export interface JwtAuthnIdentity extends AuthnIdentityCommon {
|
|
|
152
146
|
* Each identity corresponds to a matching {@linkcode AuthnIdentityCommon.policy | policy}.
|
|
153
147
|
* Policies have to be declared for each endpoint in ``app.json``.
|
|
154
148
|
*/
|
|
155
|
-
export type AuthnIdentity = EmptyAuthnIdentity | UserCertAuthnIdentity | MemberCertAuthnIdentity |
|
|
149
|
+
export type AuthnIdentity = EmptyAuthnIdentity | UserCertAuthnIdentity | MemberCertAuthnIdentity | JwtAuthnIdentity;
|
|
156
150
|
/** See {@linkcode Response.body}. */
|
|
157
151
|
export type ResponseBodyType<T> = string | ArrayBuffer | JsonCompatible<T>;
|
|
158
152
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/ccf-app",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc2",
|
|
4
4
|
"description": "CCF app support package",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"mocha": "^10.0.0",
|
|
29
29
|
"node-forge": "^1.2.0",
|
|
30
30
|
"ts-node": "^10.4.0",
|
|
31
|
-
"typedoc": "^0.
|
|
31
|
+
"typedoc": "^0.24.1",
|
|
32
32
|
"typescript": "^5.0.2"
|
|
33
33
|
}
|
|
34
34
|
}
|