@wix/auto_sdk_identity_oauth 1.0.61 → 1.0.63

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.
@@ -38,7 +38,11 @@ interface TokenRequest extends TokenRequestTenantOneOf {
38
38
  codeVerifier?: string | null;
39
39
  /** Required for `authorized_client` grant type - create tokens for a specific user. */
40
40
  userId?: string | null;
41
- /** Required for `authorized_client` grant type - create tokens for a specific member using api-key. */
41
+ /**
42
+ * Required for `authorized_client` grant type - create tokens for a specific member.
43
+ * Optional when `client_id` and `session_token` are sent: the member then comes from the session, and `member_id`, if
44
+ * sent, must match it.
45
+ */
42
46
  memberId?: string | null;
43
47
  /**
44
48
  * Required for `client_credentials` grant type with clientId that represents an external app.
@@ -64,6 +68,8 @@ interface TokenRequest extends TokenRequestTenantOneOf {
64
68
  /**
65
69
  * Optional for `authorized_client` grant type (member tokens) - a member session token that is opened server-side to
66
70
  * extract the bound session id, producing session-bound wixAT/wixRT. Public: used by the member flow from public traffic.
71
+ * When sent with `client_id` (a headless OAuth app's client ID), the tokens are issued to that client for the member
72
+ * of the session, on the client's site rather than the caller's context.
67
73
  */
68
74
  sessionToken?: string | null;
69
75
  /**
@@ -84,6 +90,18 @@ interface TokenRequest extends TokenRequestTenantOneOf {
84
90
  * @maxLength 100
85
91
  */
86
92
  subjectTokenType?: string | null;
93
+ /**
94
+ * RFC 7523 client authentication (private_key_jwt) - the type of `client_assertion`.
95
+ * Only `urn:ietf:params:oauth:client-assertion-type:jwt-bearer` is supported.
96
+ * @maxLength 100
97
+ */
98
+ clientAssertionType?: string | null;
99
+ /**
100
+ * RFC 7523 client authentication (private_key_jwt) - a JWT signed by the client. Must not be combined with
101
+ * `client_secret` or HTTP Basic authentication.
102
+ * @maxLength 8192
103
+ */
104
+ clientAssertion?: string | null;
87
105
  }
88
106
  /** @oneof */
89
107
  interface TokenRequestTenantOneOf {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_identity_oauth",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.identity.oauth.v1.refresh_token"
51
51
  }
52
52
  },
53
- "falconPackageHash": "cfe07115fa89d9b4c1401f42b6e1d0c189f4f76eb59e60acb9f7ae7a"
53
+ "falconPackageHash": "a71645b0367170e405e0863f363add160be054c7125fafafd7eaff83"
54
54
  }