@wix/identity 1.0.28 → 1.0.29
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/build/cjs/src/identity-oauth-v1-refresh-token.types.d.ts +31 -24
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.d.ts +62 -48
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js +0 -2
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
- package/build/es/src/identity-oauth-v1-refresh-token.types.d.ts +31 -24
- package/build/es/src/identity-oauth-v1-refresh-token.universal.d.ts +62 -48
- package/build/es/src/identity-oauth-v1-refresh-token.universal.js +0 -2
- package/build/es/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -6,49 +6,56 @@ export interface RefreshToken {
|
|
|
6
6
|
* the authorization process.
|
|
7
7
|
*/
|
|
8
8
|
export interface AuthorizeRequest {
|
|
9
|
-
/**
|
|
9
|
+
/** ID of the Wix OAuth app requesting authorization. */
|
|
10
10
|
clientId?: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Desired authorization [grant type](https://auth0.com/docs/authenticate/protocols/oauth#grant-types).
|
|
13
|
+
*
|
|
14
|
+
* Supported values:
|
|
15
|
+
* + `code`: The endpoint returns an authorization code that can be used to obtain an access token.
|
|
14
16
|
*/
|
|
15
17
|
responseType?: string;
|
|
16
|
-
/**
|
|
17
|
-
* redirect_uri is the URI to which the authorization server will redirect the
|
|
18
|
-
* user-agent after the user grants/denies permission.
|
|
19
|
-
*/
|
|
18
|
+
/** URI to redirect the browser to after authentication and authorization. The browser is redirected to this URI whether the authentication and authorization process is successful or not. */
|
|
20
19
|
redirectUri?: string | null;
|
|
21
20
|
/**
|
|
22
|
-
* scope
|
|
23
|
-
*
|
|
21
|
+
* Desired scope of access. If this field is left empty, only an access token is granted.
|
|
22
|
+
* To received a refresh token, pass `offline_access` as the value of this field.
|
|
24
23
|
*/
|
|
25
24
|
scope?: string | null;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
|
-
* in the request,
|
|
26
|
+
* A value used to confirm the state of an application before and after it makes an authorization
|
|
27
|
+
* request. If a value for this field is set in the request, it's added to the `redirectUri` when the browser
|
|
28
|
+
* is redirected there.
|
|
29
|
+
* Learn more about [using the state parameter](https://auth0.com/docs/secure/attack-protection/state-parameters).
|
|
29
30
|
*/
|
|
30
31
|
state?: string;
|
|
31
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* esired response format.
|
|
34
|
+
*
|
|
35
|
+
* Supported values:
|
|
36
|
+
* + `query`: The response parameters are encoded as query string parameters and added to the `redirectUri` when redirecting.
|
|
37
|
+
* + `fragment`: The response parameters are encoded as URI fragment parameters and added to the `redirectUri` when redirecting.
|
|
38
|
+
* + `web_message`: The response parameters are encoded as a JSON object and added to the body of a [web message response](https://datatracker.ietf.org/doc/html/draft-sakimura-oauth-wmrm-00).
|
|
39
|
+
*
|
|
40
|
+
* Default value: `query`
|
|
41
|
+
*/
|
|
32
42
|
responseMode?: string | null;
|
|
33
43
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
44
|
+
* Code challenge to use for PKCE verification.
|
|
45
|
+
* This field is only used if `responseType` is set to `code`.
|
|
36
46
|
*/
|
|
37
47
|
codeChallenge?: string | null;
|
|
38
48
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
49
|
+
* Code challenge method to use for PKCE verification.
|
|
50
|
+
* This field is only used if `responseType` is set to `code`.
|
|
51
|
+
*
|
|
52
|
+
* Supported values:
|
|
53
|
+
* + `S256`: The code challenge is transformed using SHA-256 encyption.
|
|
54
|
+
* + `S512`: The code challenge is transformed using SHA-512 encyption.
|
|
41
55
|
*/
|
|
42
56
|
codeChallengeMethod?: string | null;
|
|
43
|
-
/**
|
|
57
|
+
/** Session token of the site visitor to authorize. */
|
|
44
58
|
sessionToken?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Optional fields for errors
|
|
47
|
-
* A short error code that describes the type of error that occurred (e.g. "invalid_request")
|
|
48
|
-
*/
|
|
49
|
-
error?: string | null;
|
|
50
|
-
/** A human-readable description of the error that occurred */
|
|
51
|
-
errorDescription?: string | null;
|
|
52
59
|
}
|
|
53
60
|
export interface RawHttpResponse {
|
|
54
61
|
body?: Uint8Array;
|
|
@@ -12,49 +12,56 @@ export interface RefreshToken {
|
|
|
12
12
|
* the authorization process.
|
|
13
13
|
*/
|
|
14
14
|
export interface AuthorizeRequest {
|
|
15
|
-
/**
|
|
15
|
+
/** ID of the Wix OAuth app requesting authorization. */
|
|
16
16
|
clientId?: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* Desired authorization [grant type](https://auth0.com/docs/authenticate/protocols/oauth#grant-types).
|
|
19
|
+
*
|
|
20
|
+
* Supported values:
|
|
21
|
+
* + `code`: The endpoint returns an authorization code that can be used to obtain an access token.
|
|
20
22
|
*/
|
|
21
23
|
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
|
-
*/
|
|
24
|
+
/** URI to redirect the browser to after authentication and authorization. The browser is redirected to this URI whether the authentication and authorization process is successful or not. */
|
|
26
25
|
redirectUri?: string | null;
|
|
27
26
|
/**
|
|
28
|
-
* scope
|
|
29
|
-
*
|
|
27
|
+
* Desired scope of access. If this field is left empty, only an access token is granted.
|
|
28
|
+
* To received a refresh token, pass `offline_access` as the value of this field.
|
|
30
29
|
*/
|
|
31
30
|
scope?: string | null;
|
|
32
31
|
/**
|
|
33
|
-
*
|
|
34
|
-
* in the request,
|
|
32
|
+
* A value used to confirm the state of an application before and after it makes an authorization
|
|
33
|
+
* request. If a value for this field is set in the request, it's added to the `redirectUri` when the browser
|
|
34
|
+
* is redirected there.
|
|
35
|
+
* Learn more about [using the state parameter](https://auth0.com/docs/secure/attack-protection/state-parameters).
|
|
35
36
|
*/
|
|
36
37
|
state?: string;
|
|
37
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* esired response format.
|
|
40
|
+
*
|
|
41
|
+
* Supported values:
|
|
42
|
+
* + `query`: The response parameters are encoded as query string parameters and added to the `redirectUri` when redirecting.
|
|
43
|
+
* + `fragment`: The response parameters are encoded as URI fragment parameters and added to the `redirectUri` when redirecting.
|
|
44
|
+
* + `web_message`: The response parameters are encoded as a JSON object and added to the body of a [web message response](https://datatracker.ietf.org/doc/html/draft-sakimura-oauth-wmrm-00).
|
|
45
|
+
*
|
|
46
|
+
* Default value: `query`
|
|
47
|
+
*/
|
|
38
48
|
responseMode?: string | null;
|
|
39
49
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
50
|
+
* Code challenge to use for PKCE verification.
|
|
51
|
+
* This field is only used if `responseType` is set to `code`.
|
|
42
52
|
*/
|
|
43
53
|
codeChallenge?: string | null;
|
|
44
54
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
55
|
+
* Code challenge method to use for PKCE verification.
|
|
56
|
+
* This field is only used if `responseType` is set to `code`.
|
|
57
|
+
*
|
|
58
|
+
* Supported values:
|
|
59
|
+
* + `S256`: The code challenge is transformed using SHA-256 encyption.
|
|
60
|
+
* + `S512`: The code challenge is transformed using SHA-512 encyption.
|
|
47
61
|
*/
|
|
48
62
|
codeChallengeMethod?: string | null;
|
|
49
|
-
/**
|
|
63
|
+
/** Session token of the site visitor to authorize. */
|
|
50
64
|
sessionToken?: string | null;
|
|
51
|
-
/**
|
|
52
|
-
* Optional fields for errors
|
|
53
|
-
* A short error code that describes the type of error that occurred (e.g. "invalid_request")
|
|
54
|
-
*/
|
|
55
|
-
error?: string | null;
|
|
56
|
-
/** A human-readable description of the error that occurred */
|
|
57
|
-
errorDescription?: string | null;
|
|
58
65
|
}
|
|
59
66
|
export interface RawHttpResponse {
|
|
60
67
|
body?: Uint8Array;
|
|
@@ -143,49 +150,56 @@ export interface Empty {
|
|
|
143
150
|
*/
|
|
144
151
|
export declare function authorize(options?: AuthorizeOptions): Promise<RawHttpResponse>;
|
|
145
152
|
export interface AuthorizeOptions {
|
|
146
|
-
/**
|
|
153
|
+
/** ID of the Wix OAuth app requesting authorization. */
|
|
147
154
|
clientId?: string;
|
|
148
155
|
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
156
|
+
* Desired authorization [grant type](https://auth0.com/docs/authenticate/protocols/oauth#grant-types).
|
|
157
|
+
*
|
|
158
|
+
* Supported values:
|
|
159
|
+
* + `code`: The endpoint returns an authorization code that can be used to obtain an access token.
|
|
151
160
|
*/
|
|
152
161
|
responseType?: string;
|
|
153
|
-
/**
|
|
154
|
-
* redirect_uri is the URI to which the authorization server will redirect the
|
|
155
|
-
* user-agent after the user grants/denies permission.
|
|
156
|
-
*/
|
|
162
|
+
/** URI to redirect the browser to after authentication and authorization. The browser is redirected to this URI whether the authentication and authorization process is successful or not. */
|
|
157
163
|
redirectUri?: string | null;
|
|
158
164
|
/**
|
|
159
|
-
* scope
|
|
160
|
-
*
|
|
165
|
+
* Desired scope of access. If this field is left empty, only an access token is granted.
|
|
166
|
+
* To received a refresh token, pass `offline_access` as the value of this field.
|
|
161
167
|
*/
|
|
162
168
|
scope?: string | null;
|
|
163
169
|
/**
|
|
164
|
-
*
|
|
165
|
-
* in the request,
|
|
170
|
+
* A value used to confirm the state of an application before and after it makes an authorization
|
|
171
|
+
* request. If a value for this field is set in the request, it's added to the `redirectUri` when the browser
|
|
172
|
+
* is redirected there.
|
|
173
|
+
* Learn more about [using the state parameter](https://auth0.com/docs/secure/attack-protection/state-parameters).
|
|
166
174
|
*/
|
|
167
175
|
state?: string;
|
|
168
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* esired response format.
|
|
178
|
+
*
|
|
179
|
+
* Supported values:
|
|
180
|
+
* + `query`: The response parameters are encoded as query string parameters and added to the `redirectUri` when redirecting.
|
|
181
|
+
* + `fragment`: The response parameters are encoded as URI fragment parameters and added to the `redirectUri` when redirecting.
|
|
182
|
+
* + `web_message`: The response parameters are encoded as a JSON object and added to the body of a [web message response](https://datatracker.ietf.org/doc/html/draft-sakimura-oauth-wmrm-00).
|
|
183
|
+
*
|
|
184
|
+
* Default value: `query`
|
|
185
|
+
*/
|
|
169
186
|
responseMode?: string | null;
|
|
170
187
|
/**
|
|
171
|
-
*
|
|
172
|
-
*
|
|
188
|
+
* Code challenge to use for PKCE verification.
|
|
189
|
+
* This field is only used if `responseType` is set to `code`.
|
|
173
190
|
*/
|
|
174
191
|
codeChallenge?: string | null;
|
|
175
192
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
193
|
+
* Code challenge method to use for PKCE verification.
|
|
194
|
+
* This field is only used if `responseType` is set to `code`.
|
|
195
|
+
*
|
|
196
|
+
* Supported values:
|
|
197
|
+
* + `S256`: The code challenge is transformed using SHA-256 encyption.
|
|
198
|
+
* + `S512`: The code challenge is transformed using SHA-512 encyption.
|
|
178
199
|
*/
|
|
179
200
|
codeChallengeMethod?: string | null;
|
|
180
|
-
/**
|
|
201
|
+
/** Session token of the site visitor to authorize. */
|
|
181
202
|
sessionToken?: string | null;
|
|
182
|
-
/**
|
|
183
|
-
* Optional fields for errors
|
|
184
|
-
* A short error code that describes the type of error that occurred (e.g. "invalid_request")
|
|
185
|
-
*/
|
|
186
|
-
error?: string | null;
|
|
187
|
-
/** A human-readable description of the error that occurred */
|
|
188
|
-
errorDescription?: string | null;
|
|
189
203
|
}
|
|
190
204
|
/**
|
|
191
205
|
* Token endpoint accepts the TokenRequest message encoded in the raw http request body.
|
|
@@ -72,8 +72,6 @@ function authorize(options) {
|
|
|
72
72
|
codeChallenge: '$[0].codeChallenge',
|
|
73
73
|
codeChallengeMethod: '$[0].codeChallengeMethod',
|
|
74
74
|
sessionToken: '$[0].sessionToken',
|
|
75
|
-
error: '$[0].error',
|
|
76
|
-
errorDescription: '$[0].errorDescription',
|
|
77
75
|
};
|
|
78
76
|
const responseTransformation = '$';
|
|
79
77
|
// @ts-ignore
|
|
@@ -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;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;
|
|
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,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAA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uth app requesting authorization. */
|
|
10
10
|
clientId?: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Desired authorization [grant type](https://auth0.com/docs/authenticate/protocols/oauth#grant-types).
|
|
13
|
+
*
|
|
14
|
+
* Supported values:
|
|
15
|
+
* + `code`: The endpoint returns an authorization code that can be used to obtain an access token.
|
|
14
16
|
*/
|
|
15
17
|
responseType?: string;
|
|
16
|
-
/**
|
|
17
|
-
* redirect_uri is the URI to which the authorization server will redirect the
|
|
18
|
-
* user-agent after the user grants/denies permission.
|
|
19
|
-
*/
|
|
18
|
+
/** URI to redirect the browser to after authentication and authorization. The browser is redirected to this URI whether the authentication and authorization process is successful or not. */
|
|
20
19
|
redirectUri?: string | null;
|
|
21
20
|
/**
|
|
22
|
-
* scope
|
|
23
|
-
*
|
|
21
|
+
* Desired scope of access. If this field is left empty, only an access token is granted.
|
|
22
|
+
* To received a refresh token, pass `offline_access` as the value of this field.
|
|
24
23
|
*/
|
|
25
24
|
scope?: string | null;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
|
-
* in the request,
|
|
26
|
+
* A value used to confirm the state of an application before and after it makes an authorization
|
|
27
|
+
* request. If a value for this field is set in the request, it's added to the `redirectUri` when the browser
|
|
28
|
+
* is redirected there.
|
|
29
|
+
* Learn more about [using the state parameter](https://auth0.com/docs/secure/attack-protection/state-parameters).
|
|
29
30
|
*/
|
|
30
31
|
state?: string;
|
|
31
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* esired response format.
|
|
34
|
+
*
|
|
35
|
+
* Supported values:
|
|
36
|
+
* + `query`: The response parameters are encoded as query string parameters and added to the `redirectUri` when redirecting.
|
|
37
|
+
* + `fragment`: The response parameters are encoded as URI fragment parameters and added to the `redirectUri` when redirecting.
|
|
38
|
+
* + `web_message`: The response parameters are encoded as a JSON object and added to the body of a [web message response](https://datatracker.ietf.org/doc/html/draft-sakimura-oauth-wmrm-00).
|
|
39
|
+
*
|
|
40
|
+
* Default value: `query`
|
|
41
|
+
*/
|
|
32
42
|
responseMode?: string | null;
|
|
33
43
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
44
|
+
* Code challenge to use for PKCE verification.
|
|
45
|
+
* This field is only used if `responseType` is set to `code`.
|
|
36
46
|
*/
|
|
37
47
|
codeChallenge?: string | null;
|
|
38
48
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
49
|
+
* Code challenge method to use for PKCE verification.
|
|
50
|
+
* This field is only used if `responseType` is set to `code`.
|
|
51
|
+
*
|
|
52
|
+
* Supported values:
|
|
53
|
+
* + `S256`: The code challenge is transformed using SHA-256 encyption.
|
|
54
|
+
* + `S512`: The code challenge is transformed using SHA-512 encyption.
|
|
41
55
|
*/
|
|
42
56
|
codeChallengeMethod?: string | null;
|
|
43
|
-
/**
|
|
57
|
+
/** Session token of the site visitor to authorize. */
|
|
44
58
|
sessionToken?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Optional fields for errors
|
|
47
|
-
* A short error code that describes the type of error that occurred (e.g. "invalid_request")
|
|
48
|
-
*/
|
|
49
|
-
error?: string | null;
|
|
50
|
-
/** A human-readable description of the error that occurred */
|
|
51
|
-
errorDescription?: string | null;
|
|
52
59
|
}
|
|
53
60
|
export interface RawHttpResponse {
|
|
54
61
|
body?: Uint8Array;
|
|
@@ -12,49 +12,56 @@ export interface RefreshToken {
|
|
|
12
12
|
* the authorization process.
|
|
13
13
|
*/
|
|
14
14
|
export interface AuthorizeRequest {
|
|
15
|
-
/**
|
|
15
|
+
/** ID of the Wix OAuth app requesting authorization. */
|
|
16
16
|
clientId?: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* Desired authorization [grant type](https://auth0.com/docs/authenticate/protocols/oauth#grant-types).
|
|
19
|
+
*
|
|
20
|
+
* Supported values:
|
|
21
|
+
* + `code`: The endpoint returns an authorization code that can be used to obtain an access token.
|
|
20
22
|
*/
|
|
21
23
|
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
|
-
*/
|
|
24
|
+
/** URI to redirect the browser to after authentication and authorization. The browser is redirected to this URI whether the authentication and authorization process is successful or not. */
|
|
26
25
|
redirectUri?: string | null;
|
|
27
26
|
/**
|
|
28
|
-
* scope
|
|
29
|
-
*
|
|
27
|
+
* Desired scope of access. If this field is left empty, only an access token is granted.
|
|
28
|
+
* To received a refresh token, pass `offline_access` as the value of this field.
|
|
30
29
|
*/
|
|
31
30
|
scope?: string | null;
|
|
32
31
|
/**
|
|
33
|
-
*
|
|
34
|
-
* in the request,
|
|
32
|
+
* A value used to confirm the state of an application before and after it makes an authorization
|
|
33
|
+
* request. If a value for this field is set in the request, it's added to the `redirectUri` when the browser
|
|
34
|
+
* is redirected there.
|
|
35
|
+
* Learn more about [using the state parameter](https://auth0.com/docs/secure/attack-protection/state-parameters).
|
|
35
36
|
*/
|
|
36
37
|
state?: string;
|
|
37
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* esired response format.
|
|
40
|
+
*
|
|
41
|
+
* Supported values:
|
|
42
|
+
* + `query`: The response parameters are encoded as query string parameters and added to the `redirectUri` when redirecting.
|
|
43
|
+
* + `fragment`: The response parameters are encoded as URI fragment parameters and added to the `redirectUri` when redirecting.
|
|
44
|
+
* + `web_message`: The response parameters are encoded as a JSON object and added to the body of a [web message response](https://datatracker.ietf.org/doc/html/draft-sakimura-oauth-wmrm-00).
|
|
45
|
+
*
|
|
46
|
+
* Default value: `query`
|
|
47
|
+
*/
|
|
38
48
|
responseMode?: string | null;
|
|
39
49
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
50
|
+
* Code challenge to use for PKCE verification.
|
|
51
|
+
* This field is only used if `responseType` is set to `code`.
|
|
42
52
|
*/
|
|
43
53
|
codeChallenge?: string | null;
|
|
44
54
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
55
|
+
* Code challenge method to use for PKCE verification.
|
|
56
|
+
* This field is only used if `responseType` is set to `code`.
|
|
57
|
+
*
|
|
58
|
+
* Supported values:
|
|
59
|
+
* + `S256`: The code challenge is transformed using SHA-256 encyption.
|
|
60
|
+
* + `S512`: The code challenge is transformed using SHA-512 encyption.
|
|
47
61
|
*/
|
|
48
62
|
codeChallengeMethod?: string | null;
|
|
49
|
-
/**
|
|
63
|
+
/** Session token of the site visitor to authorize. */
|
|
50
64
|
sessionToken?: string | null;
|
|
51
|
-
/**
|
|
52
|
-
* Optional fields for errors
|
|
53
|
-
* A short error code that describes the type of error that occurred (e.g. "invalid_request")
|
|
54
|
-
*/
|
|
55
|
-
error?: string | null;
|
|
56
|
-
/** A human-readable description of the error that occurred */
|
|
57
|
-
errorDescription?: string | null;
|
|
58
65
|
}
|
|
59
66
|
export interface RawHttpResponse {
|
|
60
67
|
body?: Uint8Array;
|
|
@@ -143,49 +150,56 @@ export interface Empty {
|
|
|
143
150
|
*/
|
|
144
151
|
export declare function authorize(options?: AuthorizeOptions): Promise<RawHttpResponse>;
|
|
145
152
|
export interface AuthorizeOptions {
|
|
146
|
-
/**
|
|
153
|
+
/** ID of the Wix OAuth app requesting authorization. */
|
|
147
154
|
clientId?: string;
|
|
148
155
|
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
156
|
+
* Desired authorization [grant type](https://auth0.com/docs/authenticate/protocols/oauth#grant-types).
|
|
157
|
+
*
|
|
158
|
+
* Supported values:
|
|
159
|
+
* + `code`: The endpoint returns an authorization code that can be used to obtain an access token.
|
|
151
160
|
*/
|
|
152
161
|
responseType?: string;
|
|
153
|
-
/**
|
|
154
|
-
* redirect_uri is the URI to which the authorization server will redirect the
|
|
155
|
-
* user-agent after the user grants/denies permission.
|
|
156
|
-
*/
|
|
162
|
+
/** URI to redirect the browser to after authentication and authorization. The browser is redirected to this URI whether the authentication and authorization process is successful or not. */
|
|
157
163
|
redirectUri?: string | null;
|
|
158
164
|
/**
|
|
159
|
-
* scope
|
|
160
|
-
*
|
|
165
|
+
* Desired scope of access. If this field is left empty, only an access token is granted.
|
|
166
|
+
* To received a refresh token, pass `offline_access` as the value of this field.
|
|
161
167
|
*/
|
|
162
168
|
scope?: string | null;
|
|
163
169
|
/**
|
|
164
|
-
*
|
|
165
|
-
* in the request,
|
|
170
|
+
* A value used to confirm the state of an application before and after it makes an authorization
|
|
171
|
+
* request. If a value for this field is set in the request, it's added to the `redirectUri` when the browser
|
|
172
|
+
* is redirected there.
|
|
173
|
+
* Learn more about [using the state parameter](https://auth0.com/docs/secure/attack-protection/state-parameters).
|
|
166
174
|
*/
|
|
167
175
|
state?: string;
|
|
168
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* esired response format.
|
|
178
|
+
*
|
|
179
|
+
* Supported values:
|
|
180
|
+
* + `query`: The response parameters are encoded as query string parameters and added to the `redirectUri` when redirecting.
|
|
181
|
+
* + `fragment`: The response parameters are encoded as URI fragment parameters and added to the `redirectUri` when redirecting.
|
|
182
|
+
* + `web_message`: The response parameters are encoded as a JSON object and added to the body of a [web message response](https://datatracker.ietf.org/doc/html/draft-sakimura-oauth-wmrm-00).
|
|
183
|
+
*
|
|
184
|
+
* Default value: `query`
|
|
185
|
+
*/
|
|
169
186
|
responseMode?: string | null;
|
|
170
187
|
/**
|
|
171
|
-
*
|
|
172
|
-
*
|
|
188
|
+
* Code challenge to use for PKCE verification.
|
|
189
|
+
* This field is only used if `responseType` is set to `code`.
|
|
173
190
|
*/
|
|
174
191
|
codeChallenge?: string | null;
|
|
175
192
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
193
|
+
* Code challenge method to use for PKCE verification.
|
|
194
|
+
* This field is only used if `responseType` is set to `code`.
|
|
195
|
+
*
|
|
196
|
+
* Supported values:
|
|
197
|
+
* + `S256`: The code challenge is transformed using SHA-256 encyption.
|
|
198
|
+
* + `S512`: The code challenge is transformed using SHA-512 encyption.
|
|
178
199
|
*/
|
|
179
200
|
codeChallengeMethod?: string | null;
|
|
180
|
-
/**
|
|
201
|
+
/** Session token of the site visitor to authorize. */
|
|
181
202
|
sessionToken?: string | null;
|
|
182
|
-
/**
|
|
183
|
-
* Optional fields for errors
|
|
184
|
-
* A short error code that describes the type of error that occurred (e.g. "invalid_request")
|
|
185
|
-
*/
|
|
186
|
-
error?: string | null;
|
|
187
|
-
/** A human-readable description of the error that occurred */
|
|
188
|
-
errorDescription?: string | null;
|
|
189
203
|
}
|
|
190
204
|
/**
|
|
191
205
|
* Token endpoint accepts the TokenRequest message encoded in the raw http request body.
|
|
@@ -50,8 +50,6 @@ export function authorize(options) {
|
|
|
50
50
|
codeChallenge: '$[0].codeChallenge',
|
|
51
51
|
codeChallengeMethod: '$[0].codeChallengeMethod',
|
|
52
52
|
sessionToken: '$[0].sessionToken',
|
|
53
|
-
error: '$[0].error',
|
|
54
|
-
errorDescription: '$[0].errorDescription',
|
|
55
53
|
};
|
|
56
54
|
const responseTransformation = '$';
|
|
57
55
|
// @ts-ignore
|
|
@@ -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,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,wCAAwC,MAAM,wCAAwC,CAAC;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;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"identity-oauth-v1-refresh-token.universal.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,wCAAwC,MAAM,wCAAwC,CAAC;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;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA4J5B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAChC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAC5B,MAAM,0BAA0B,GAAG,EAAE,CAAC;AACtC,MAAM,2BAA2B,GAAG,EAAE,CAAC;AACvC,MAAM,cAAc,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C,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,cAAc,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/identity",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "9bdeed83bd3fc67156d736cd3c0b66b43c0cc4d4a91c8746e868b886"
|
|
37
37
|
}
|