@zyphr-dev/node-sdk 0.1.47 → 0.1.48
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/src/apis/AuthSessionsApi.ts +4 -4
package/dist/index.cjs
CHANGED
|
@@ -21842,7 +21842,7 @@ var AuthSessionsApi = class extends BaseAPI {
|
|
|
21842
21842
|
return await response.value();
|
|
21843
21843
|
}
|
|
21844
21844
|
/**
|
|
21845
|
-
* Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
21845
|
+
* Refresh an end-user access token using a refresh token. Authenticated with the publishable application key (`X-Application-Key`) — no application secret is required, so client-side apps (browser / mobile) can refresh directly. The refresh token is the credential: it must be valid, unexpired, unrevoked, and issued for this application. Refresh tokens are single-use — each refresh returns a NEW refresh token and invalidates the one you presented, so persist the new token before the next refresh. Accepts optional custom_claims to update JWT claims (if not provided, current stored claims are preserved).
|
|
21846
21846
|
* Refresh access token
|
|
21847
21847
|
*/
|
|
21848
21848
|
async refreshEndUserTokenRaw(requestParameters, initOverrides) {
|
|
@@ -21871,7 +21871,7 @@ var AuthSessionsApi = class extends BaseAPI {
|
|
|
21871
21871
|
return new JSONApiResponse(response, (jsonValue) => RefreshTokenResponseFromJSON(jsonValue));
|
|
21872
21872
|
}
|
|
21873
21873
|
/**
|
|
21874
|
-
* Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
21874
|
+
* Refresh an end-user access token using a refresh token. Authenticated with the publishable application key (`X-Application-Key`) — no application secret is required, so client-side apps (browser / mobile) can refresh directly. The refresh token is the credential: it must be valid, unexpired, unrevoked, and issued for this application. Refresh tokens are single-use — each refresh returns a NEW refresh token and invalidates the one you presented, so persist the new token before the next refresh. Accepts optional custom_claims to update JWT claims (if not provided, current stored claims are preserved).
|
|
21875
21875
|
* Refresh access token
|
|
21876
21876
|
*/
|
|
21877
21877
|
async refreshEndUserToken(refreshSessionRequest, initOverrides) {
|