@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/package.json
CHANGED
|
@@ -71,7 +71,7 @@ export interface AuthSessionsApiInterface {
|
|
|
71
71
|
listEndUserSessions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionListResponse>;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
74
|
+
* 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).
|
|
75
75
|
* @summary Refresh access token
|
|
76
76
|
* @param {RefreshSessionRequest} refreshSessionRequest
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
@@ -81,7 +81,7 @@ export interface AuthSessionsApiInterface {
|
|
|
81
81
|
refreshEndUserTokenRaw(requestParameters: AuthSessionsApiRefreshEndUserTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RefreshTokenResponse>>;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
84
|
+
* 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).
|
|
85
85
|
* Refresh access token
|
|
86
86
|
*/
|
|
87
87
|
refreshEndUserToken(refreshSessionRequest: RefreshSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RefreshTokenResponse>;
|
|
@@ -165,7 +165,7 @@ export class AuthSessionsApi extends runtime.BaseAPI implements AuthSessionsApiI
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
168
|
+
* 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).
|
|
169
169
|
* Refresh access token
|
|
170
170
|
*/
|
|
171
171
|
async refreshEndUserTokenRaw(requestParameters: AuthSessionsApiRefreshEndUserTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RefreshTokenResponse>> {
|
|
@@ -202,7 +202,7 @@ export class AuthSessionsApi extends runtime.BaseAPI implements AuthSessionsApiI
|
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
205
|
+
* 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).
|
|
206
206
|
* Refresh access token
|
|
207
207
|
*/
|
|
208
208
|
async refreshEndUserToken(refreshSessionRequest: RefreshSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RefreshTokenResponse> {
|