@wix/identity 1.0.5 → 1.0.7

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.
Files changed (23) hide show
  1. package/build/cjs/src/iam-authentication-v1-authentication.http.js +7 -7
  2. package/build/cjs/src/iam-authentication-v1-authentication.http.js.map +1 -1
  3. package/build/cjs/src/iam-authentication-v1-authentication.public.js +3 -3
  4. package/build/cjs/src/iam-authentication-v1-authentication.public.js.map +1 -1
  5. package/build/cjs/src/iam-authentication-v1-authentication.universal.js +9 -9
  6. package/build/cjs/src/iam-authentication-v1-authentication.universal.js.map +1 -1
  7. package/build/cjs/src/identity-oauth-v1-refresh-token.http.js +18 -12
  8. package/build/cjs/src/identity-oauth-v1-refresh-token.http.js.map +1 -1
  9. package/build/cjs/src/identity-oauth-v1-refresh-token.public.d.ts +1 -1
  10. package/build/cjs/src/identity-oauth-v1-refresh-token.public.js +4 -4
  11. package/build/cjs/src/identity-oauth-v1-refresh-token.public.js.map +1 -1
  12. package/build/cjs/src/identity-oauth-v1-refresh-token.types.d.ts +76 -65
  13. package/build/cjs/src/identity-oauth-v1-refresh-token.universal.d.ts +131 -89
  14. package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js +22 -20
  15. package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
  16. package/build/es/src/identity-oauth-v1-refresh-token.http.js +6 -0
  17. package/build/es/src/identity-oauth-v1-refresh-token.http.js.map +1 -1
  18. package/build/es/src/identity-oauth-v1-refresh-token.public.d.ts +1 -1
  19. package/build/es/src/identity-oauth-v1-refresh-token.types.d.ts +76 -65
  20. package/build/es/src/identity-oauth-v1-refresh-token.universal.d.ts +131 -89
  21. package/build/es/src/identity-oauth-v1-refresh-token.universal.js +10 -8
  22. package/build/es/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
  23. package/package.json +2 -2
@@ -7,30 +7,48 @@ export declare const __debug: {
7
7
  export interface RefreshToken {
8
8
  token?: string;
9
9
  }
10
+ /**
11
+ * AuthorizeRequest is sent by the client to the authorization server to initiate
12
+ * the authorization process.
13
+ */
10
14
  export interface AuthorizeRequest {
11
- /** Tells the authorization server which grant to execute. */
12
- responseType?: string;
13
- /** The ID of the application that asks for authorization. */
15
+ /** client_id is the unique identifier of the client application. */
14
16
  clientId?: string;
15
- /** Holds a URL. A successful response from this endpoint results in a redirect to this URL. */
16
- redirectUri?: string | null;
17
- /** A list of scopes that the application requires. */
18
- scope?: Scope;
19
- /** An opaque value, used for security purposes. If this request parameter is set in the request, then it is returned to the application as part of the redirect_uri. */
17
+ /**
18
+ * response_type specifies the desired authorization grant type.
19
+ * This can be "code" for the authorization code.
20
+ */
21
+ responseType?: string;
22
+ /**
23
+ * redirect_uri is the URI to which the authorization server will redirect the
24
+ * user-agent after the user grants/denies permission.
25
+ */
26
+ redirectUri?: string;
27
+ /**
28
+ * scope is a space-delimited string that specifies the requested scope of the
29
+ * access request.
30
+ */
31
+ scope?: string | null;
32
+ /**
33
+ * An opaque value, used for security purposes. If this request parameter is set
34
+ * in the request, then it is returned to the application as part of the redirect_uri.
35
+ */
20
36
  state?: string;
21
37
  /** (Optional) How the result of the authorization request is formatted */
22
38
  responseMode?: string | null;
23
- /** PKCE hashed code */
39
+ /**
40
+ * code_challenge is the code challenge sent by the client as part of the PKCE
41
+ * process. This field is only used if response_type is "code".
42
+ */
24
43
  codeChallenge?: string | null;
25
- /** PKCE hashing method */
44
+ /**
45
+ * code_challenge_method is the code challenge method sent by the client as part
46
+ * of the PKCE process. This field is only used if response_type is "code".
47
+ */
26
48
  codeChallengeMethod?: string | null;
27
49
  /** Current client session */
28
50
  sessionToken?: string | null;
29
51
  }
30
- export interface Scope {
31
- /** A list of permissions that the application requires. Empty list means the default list of scopes. */
32
- ids?: string[];
33
- }
34
52
  export interface RawHttpResponse {
35
53
  body?: Uint8Array;
36
54
  statusCode?: number | null;
@@ -40,64 +58,57 @@ export interface HeadersEntry {
40
58
  key?: string;
41
59
  value?: string;
42
60
  }
43
- export interface TokenRequest extends TokenRequestGrantTypeOneOf {
44
- /** Authorization code given at the authorize endpoint. */
45
- authorizationCode?: AuthorizationCode;
46
- /** Authorization code given at the authorize endpoint with the PKCE extention. */
47
- pkce?: PKCE;
48
- /** Device code given at the device code endpoint. */
49
- deviceCode?: DeviceCode;
50
- /** Refresh Token that was issued by this service beforehand. */
51
- refreshToken?: RefreshToken;
52
- /** Client credentials for authenticating a client */
53
- clientCredentials?: ClientCredentials;
54
- /** Granting a pre authenticated token for basic access. */
55
- preAuthenticated?: PreAuthenticated;
56
- }
57
- /** @oneof */
58
- export interface TokenRequestGrantTypeOneOf {
59
- /** Authorization code given at the authorize endpoint. */
60
- authorizationCode?: AuthorizationCode;
61
- /** Authorization code given at the authorize endpoint with the PKCE extention. */
62
- pkce?: PKCE;
63
- /** Device code given at the device code endpoint. */
64
- deviceCode?: DeviceCode;
65
- /** Refresh Token that was issued by this service beforehand. */
66
- refreshToken?: RefreshToken;
67
- /** Client credentials for authenticating a client */
68
- clientCredentials?: ClientCredentials;
69
- /** Granting a pre authenticated token for basic access. */
70
- preAuthenticated?: PreAuthenticated;
71
- }
72
- export interface AuthorizationCode {
73
- code?: string;
74
- }
75
- export interface PKCE {
76
- authorizationCode?: AuthorizationCode;
77
- /** PKCE code */
61
+ /**
62
+ * TokenRequest is sent by the client to the authorization server to request an
63
+ * access token.
64
+ */
65
+ export interface TokenRequest {
66
+ /** The application id that want to obtain an access token. */
67
+ clientId?: string | null;
68
+ /**
69
+ * grant_type specifies the grant type being used. supported grant types are:
70
+ * `authorization_code`, `client_credentials`, `refresh_token`, `urn:ietf:params:oauth:grant-type:device_code`, `anonymous`
71
+ */
72
+ grantType?: string;
73
+ /** Required for `refresh_token` grant type. */
74
+ refreshToken?: string | null;
75
+ /** Required for `client_credentials` grant type. */
76
+ clientSecret?: string | null;
77
+ /**
78
+ * Required for `urn:ietf:params:oauth:grant-type:device_code` grant type. The device verification code, "device_code" from the
79
+ * device authorization response
80
+ */
81
+ deviceCode?: string | null;
82
+ /** Required for the `authorization_code` grant type. */
83
+ redirectUri?: string | null;
84
+ /** Required for `authorization_code` grant type. */
78
85
  code?: string | null;
79
- }
80
- export interface DeviceCode {
81
- deviceCode?: string;
82
- }
83
- export interface ClientCredentials {
84
- }
85
- export interface PreAuthenticated {
86
- clientId?: string;
86
+ /** Optional, used if code challenge and code method were used in `authorization_code` grant type. */
87
+ codeVerifier?: string | null;
87
88
  }
88
89
  export interface TokenResponse {
89
- accessToken?: AccessToken;
90
- refreshToken?: RefreshToken;
91
- }
92
- export interface AccessToken {
93
- /** The access token string as issued by the authorization server. */
94
- token?: string;
90
+ /** The access token issued by the authorization server. */
91
+ accessToken?: string;
92
+ /** The type of the token issued as described in Section 7.1. of the oauth2 rfc. */
93
+ tokenType?: string;
94
+ /**
95
+ * The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will
96
+ * expire in one hour from the time the response was generated.
97
+ */
98
+ expiresIn?: number;
99
+ /** The refresh token, which can be used to obtain new access tokens. */
100
+ refreshToken?: string | null;
101
+ /** OPTIONAL, if identical to the scope requested by the client; otherwise, will be sent. */
102
+ scope?: string | null;
95
103
  }
96
104
  export interface DeviceCodeRequest {
97
105
  /** The ID of the application that asks for authorization. */
98
106
  clientId?: string;
99
- /** A list of permissions that the application requires. Empty list means the default list of scopes. */
100
- scope?: Scope;
107
+ /**
108
+ * scope is a space-delimited string that specifies the requested scope of the
109
+ * access request.
110
+ */
111
+ scope?: string | null;
101
112
  }
102
113
  export interface DeviceCodeResponse {
103
114
  /** is the unique code for the device. When the user goes to the verification_uri in their browser-based device, this code will be bound to their session. */
@@ -134,21 +145,39 @@ export interface RevokeRefreshTokenResponse {
134
145
  */
135
146
  export declare function authorize(options?: AuthorizeOptions): Promise<RawHttpResponse>;
136
147
  export interface AuthorizeOptions {
137
- /** Tells the authorization server which grant to execute. */
138
- responseType?: string;
139
- /** The ID of the application that asks for authorization. */
148
+ /** client_id is the unique identifier of the client application. */
140
149
  clientId?: string;
141
- /** Holds a URL. A successful response from this endpoint results in a redirect to this URL. */
142
- redirectUri?: string | null;
143
- /** A list of scopes that the application requires. */
144
- scope?: Scope;
145
- /** An opaque value, used for security purposes. If this request parameter is set in the request, then it is returned to the application as part of the redirect_uri. */
150
+ /**
151
+ * response_type specifies the desired authorization grant type.
152
+ * This can be "code" for the authorization code.
153
+ */
154
+ responseType?: string;
155
+ /**
156
+ * redirect_uri is the URI to which the authorization server will redirect the
157
+ * user-agent after the user grants/denies permission.
158
+ */
159
+ redirectUri?: string;
160
+ /**
161
+ * scope is a space-delimited string that specifies the requested scope of the
162
+ * access request.
163
+ */
164
+ scope?: string | null;
165
+ /**
166
+ * An opaque value, used for security purposes. If this request parameter is set
167
+ * in the request, then it is returned to the application as part of the redirect_uri.
168
+ */
146
169
  state?: string;
147
170
  /** (Optional) How the result of the authorization request is formatted */
148
171
  responseMode?: string | null;
149
- /** PKCE hashed code */
172
+ /**
173
+ * code_challenge is the code challenge sent by the client as part of the PKCE
174
+ * process. This field is only used if response_type is "code".
175
+ */
150
176
  codeChallenge?: string | null;
151
- /** PKCE hashing method */
177
+ /**
178
+ * code_challenge_method is the code challenge method sent by the client as part
179
+ * of the PKCE process. This field is only used if response_type is "code".
180
+ */
152
181
  codeChallengeMethod?: string | null;
153
182
  /** Current client session */
154
183
  sessionToken?: string | null;
@@ -158,18 +187,28 @@ export interface AuthorizeOptions {
158
187
  */
159
188
  export declare function token(options?: TokenOptions): Promise<TokenResponse>;
160
189
  export interface TokenOptions {
161
- /** Authorization code given at the authorize endpoint. */
162
- authorizationCode?: AuthorizationCode;
163
- /** Authorization code given at the authorize endpoint with the PKCE extention. */
164
- pkce?: PKCE;
165
- /** Device code given at the device code endpoint. */
166
- deviceCode?: DeviceCode;
167
- /** Refresh Token that was issued by this service beforehand. */
168
- refreshToken?: RefreshToken;
169
- /** Client credentials for authenticating a client */
170
- clientCredentials?: ClientCredentials;
171
- /** Granting a pre authenticated token for basic access. */
172
- preAuthenticated?: PreAuthenticated;
190
+ /** The application id that want to obtain an access token. */
191
+ clientId?: string | null;
192
+ /**
193
+ * grant_type specifies the grant type being used. supported grant types are:
194
+ * `authorization_code`, `client_credentials`, `refresh_token`, `urn:ietf:params:oauth:grant-type:device_code`, `anonymous`
195
+ */
196
+ grantType?: string;
197
+ /** Required for `refresh_token` grant type. */
198
+ refreshToken?: string | null;
199
+ /** Required for `client_credentials` grant type. */
200
+ clientSecret?: string | null;
201
+ /**
202
+ * Required for `urn:ietf:params:oauth:grant-type:device_code` grant type. The device verification code, "device_code" from the
203
+ * device authorization response
204
+ */
205
+ deviceCode?: string | null;
206
+ /** Required for the `authorization_code` grant type. */
207
+ redirectUri?: string | null;
208
+ /** Required for `authorization_code` grant type. */
209
+ code?: string | null;
210
+ /** Optional, used if code challenge and code method were used in `authorization_code` grant type. */
211
+ codeVerifier?: string | null;
173
212
  }
174
213
  /**
175
214
  * this endpoint serves the Device Authorization Flow as described in https://www.rfc-editor.org/rfc/pdfrfc/rfc8628.txt.pdf
@@ -180,8 +219,11 @@ export declare function deviceCode(options?: DeviceCodeOptions): Promise<DeviceC
180
219
  export interface DeviceCodeOptions {
181
220
  /** The ID of the application that asks for authorization. */
182
221
  clientId?: string;
183
- /** A list of permissions that the application requires. Empty list means the default list of scopes. */
184
- scope?: Scope;
222
+ /**
223
+ * scope is a space-delimited string that specifies the requested scope of the
224
+ * access request.
225
+ */
226
+ scope?: string | null;
185
227
  }
186
228
  /**
187
229
  * this endpoint serves the Device Authorization Flow as described in https://www.rfc-editor.org/rfc/pdfrfc/rfc8628.txt.pdf
@@ -61,8 +61,8 @@ function authorize(options) {
61
61
  var _a, _b, _c;
62
62
  return __awaiter(this, arguments, void 0, function* () {
63
63
  const requestTransformation = {
64
- responseType: '$[0].responseType',
65
64
  clientId: '$[0].clientId',
65
+ responseType: '$[0].responseType',
66
66
  redirectUri: '$[0].redirectUri',
67
67
  scope: '$[0].scope',
68
68
  state: '$[0].state',
@@ -74,7 +74,7 @@ function authorize(options) {
74
74
  const responseTransformation = '$';
75
75
  // @ts-ignore
76
76
  const { httpClient, sideEffects } = arguments[1];
77
- const { toAmbassadorRequest } = velo_1.serializer({
77
+ const { toAmbassadorRequest } = (0, velo_1.serializer)({
78
78
  rootSchema: _authorizeRequest,
79
79
  depSchemas: {},
80
80
  fqdnTransformation: {
@@ -83,7 +83,7 @@ function authorize(options) {
83
83
  },
84
84
  customTransformation: requestTransformation,
85
85
  });
86
- const { fromJSON } = velo_1.serializer({
86
+ const { fromJSON } = (0, velo_1.serializer)({
87
87
  rootSchema: _rawHttpResponse,
88
88
  depSchemas: {},
89
89
  fqdnTransformation: {
@@ -102,7 +102,7 @@ function authorize(options) {
102
102
  return fromJSON(result.data);
103
103
  }
104
104
  catch (err) {
105
- const transformedError = velo_1.transformError(err, requestTransformation, [
105
+ const transformedError = (0, velo_1.transformError)(err, requestTransformation, [
106
106
  'options',
107
107
  ]);
108
108
  (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
@@ -118,30 +118,32 @@ function token(options) {
118
118
  var _a, _b, _c;
119
119
  return __awaiter(this, arguments, void 0, function* () {
120
120
  const requestTransformation = {
121
- authorizationCode: '$[0].authorizationCode',
122
- pkce: '$[0].pkce',
123
- deviceCode: '$[0].deviceCode',
121
+ clientId: '$[0].clientId',
122
+ grantType: '$[0].grantType',
124
123
  refreshToken: '$[0].refreshToken',
125
- clientCredentials: '$[0].clientCredentials',
126
- preAuthenticated: '$[0].preAuthenticated',
124
+ clientSecret: '$[0].clientSecret',
125
+ deviceCode: '$[0].deviceCode',
126
+ redirectUri: '$[0].redirectUri',
127
+ code: '$[0].code',
128
+ codeVerifier: '$[0].codeVerifier',
127
129
  };
128
130
  const responseTransformation = '$';
129
131
  // @ts-ignore
130
132
  const { httpClient, sideEffects } = arguments[1];
131
- const { toAmbassadorRequest } = velo_1.serializer({
133
+ const { toAmbassadorRequest } = (0, velo_1.serializer)({
132
134
  rootSchema: _tokenRequest,
133
135
  depSchemas: {},
134
136
  fqdnTransformation: {
135
- paths: [...['refreshToken']],
137
+ paths: [],
136
138
  transformation: _fromVeloEntity,
137
139
  },
138
140
  customTransformation: requestTransformation,
139
141
  });
140
- const { fromJSON } = velo_1.serializer({
142
+ const { fromJSON } = (0, velo_1.serializer)({
141
143
  rootSchema: _tokenResponse,
142
144
  depSchemas: {},
143
145
  fqdnTransformation: {
144
- paths: [...['refreshToken']],
146
+ paths: [],
145
147
  transformation: _toVeloEntity,
146
148
  },
147
149
  customTransformation: responseTransformation,
@@ -156,7 +158,7 @@ function token(options) {
156
158
  return fromJSON(result.data);
157
159
  }
158
160
  catch (err) {
159
- const transformedError = velo_1.transformError(err, requestTransformation, [
161
+ const transformedError = (0, velo_1.transformError)(err, requestTransformation, [
160
162
  'options',
161
163
  ]);
162
164
  (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
@@ -180,7 +182,7 @@ function deviceCode(options) {
180
182
  const responseTransformation = '$';
181
183
  // @ts-ignore
182
184
  const { httpClient, sideEffects } = arguments[1];
183
- const { toAmbassadorRequest } = velo_1.serializer({
185
+ const { toAmbassadorRequest } = (0, velo_1.serializer)({
184
186
  rootSchema: _deviceCodeRequest,
185
187
  depSchemas: {},
186
188
  fqdnTransformation: {
@@ -189,7 +191,7 @@ function deviceCode(options) {
189
191
  },
190
192
  customTransformation: requestTransformation,
191
193
  });
192
- const { fromJSON } = velo_1.serializer({
194
+ const { fromJSON } = (0, velo_1.serializer)({
193
195
  rootSchema: _deviceCodeResponse,
194
196
  depSchemas: {},
195
197
  fqdnTransformation: {
@@ -208,7 +210,7 @@ function deviceCode(options) {
208
210
  return fromJSON(result.data);
209
211
  }
210
212
  catch (err) {
211
- const transformedError = velo_1.transformError(err, requestTransformation, [
213
+ const transformedError = (0, velo_1.transformError)(err, requestTransformation, [
212
214
  'options',
213
215
  ]);
214
216
  (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
@@ -229,7 +231,7 @@ function deviceVerify(options) {
229
231
  const responseTransformation = '$';
230
232
  // @ts-ignore
231
233
  const { httpClient, sideEffects } = arguments[1];
232
- const { toAmbassadorRequest } = velo_1.serializer({
234
+ const { toAmbassadorRequest } = (0, velo_1.serializer)({
233
235
  rootSchema: _deviceVerifyRequest,
234
236
  depSchemas: {},
235
237
  fqdnTransformation: {
@@ -238,7 +240,7 @@ function deviceVerify(options) {
238
240
  },
239
241
  customTransformation: requestTransformation,
240
242
  });
241
- const { fromJSON } = velo_1.serializer({
243
+ const { fromJSON } = (0, velo_1.serializer)({
242
244
  rootSchema: _deviceVerifyResponse,
243
245
  depSchemas: {},
244
246
  fqdnTransformation: {
@@ -257,7 +259,7 @@ function deviceVerify(options) {
257
259
  return fromJSON(result.data);
258
260
  }
259
261
  catch (err) {
260
- const transformedError = velo_1.transformError(err, requestTransformation, [
262
+ const transformedError = (0, velo_1.transformError)(err, requestTransformation, [
261
263
  'options',
262
264
  ]);
263
265
  (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
@@ -1 +1 @@
1
- {"version":3,"file":"identity-oauth-v1-refresh-token.universal.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,iHAAmG;AAEnG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;Q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,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GACX,wCAAwC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAEjE,KAAK,CAAC,wCAAwC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAEpE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,qBAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AArDD,oCAqDC"}
1
+ {"version":3,"file":"identity-oauth-v1-refresh-token.universal.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,iHAAmG;AAEnG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd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AoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GACX,wCAAwC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAEjE,KAAK,CAAC,wCAAwC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAEpE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AArDD,oCAqDC"}
@@ -23,6 +23,12 @@ function resolveWixIdentityOauth2V1Oauth2NgUrl(opts) {
23
23
  destPath: '/v1/oauth',
24
24
  },
25
25
  ],
26
+ 'users._base_domain_': [
27
+ {
28
+ srcPath: '/v1/oauth/device/verify',
29
+ destPath: '/v1/oauth/device/verify',
30
+ },
31
+ ],
26
32
  };
27
33
  return resolveUrl(Object.assign(opts, { domainToMappings }));
28
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"identity-oauth-v1-refresh-token.http.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE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AO,QAAQ,CAAC;IAClB,CAAC;IAED,cAAc,CAAC,OAAO,GAAG,OAAO,CAAC;IAEjC,OAAO,cAAc,CAAC;AACxB,CAAC"}
@@ -4,4 +4,4 @@ export declare function authorize(httpClient: HttpClient): (options?: AuthorizeO
4
4
  export declare function token(httpClient: HttpClient): (options?: TokenOptions | undefined) => Promise<import("./identity-oauth-v1-refresh-token.universal").TokenResponse>;
5
5
  export declare function deviceCode(httpClient: HttpClient): (options?: DeviceCodeOptions | undefined) => Promise<import("./identity-oauth-v1-refresh-token.universal").DeviceCodeResponse>;
6
6
  export declare function deviceVerify(httpClient: HttpClient): (options?: DeviceVerifyOptions | undefined) => Promise<void>;
7
- export { RefreshToken, AuthorizeRequest, Scope, RawHttpResponse, HeadersEntry, TokenRequest, TokenRequestGrantTypeOneOf, AuthorizationCode, PKCE, DeviceCode, ClientCredentials, PreAuthenticated, TokenResponse, AccessToken, DeviceCodeRequest, DeviceCodeResponse, DeviceVerifyRequest, DeviceVerifyResponse, InvalidateUserCodeRequest, InvalidateUserCodeResponse, RevokeRefreshTokenRequest, RevokeRefreshTokenResponse, AuthorizeOptions, TokenOptions, DeviceCodeOptions, DeviceVerifyOptions, } from './identity-oauth-v1-refresh-token.universal';
7
+ export { RefreshToken, AuthorizeRequest, RawHttpResponse, HeadersEntry, TokenRequest, TokenResponse, DeviceCodeRequest, DeviceCodeResponse, DeviceVerifyRequest, DeviceVerifyResponse, InvalidateUserCodeRequest, InvalidateUserCodeResponse, RevokeRefreshTokenRequest, RevokeRefreshTokenResponse, AuthorizeOptions, TokenOptions, DeviceCodeOptions, DeviceVerifyOptions, } from './identity-oauth-v1-refresh-token.universal';