@wix/identity 1.0.4 → 1.0.6

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 (45) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +2 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/src/iam-authentication-v1-authentication.http.d.ts +5 -0
  5. package/build/cjs/src/iam-authentication-v1-authentication.http.js +152 -0
  6. package/build/cjs/src/iam-authentication-v1-authentication.http.js.map +1 -0
  7. package/build/cjs/src/iam-authentication-v1-authentication.public.d.ts +7 -0
  8. package/build/cjs/src/iam-authentication-v1-authentication.public.js +28 -0
  9. package/build/cjs/src/iam-authentication-v1-authentication.public.js.map +1 -0
  10. package/build/cjs/src/iam-authentication-v1-authentication.types.d.ts +191 -0
  11. package/build/cjs/src/iam-authentication-v1-authentication.types.js +32 -0
  12. package/build/cjs/src/iam-authentication-v1-authentication.types.js.map +1 -0
  13. package/build/cjs/src/iam-authentication-v1-authentication.universal.d.ts +226 -0
  14. package/build/cjs/src/iam-authentication-v1-authentication.universal.js +273 -0
  15. package/build/cjs/src/iam-authentication-v1-authentication.universal.js.map +1 -0
  16. package/build/cjs/src/identity-oauth-v1-refresh-token.http.js +6 -0
  17. package/build/cjs/src/identity-oauth-v1-refresh-token.http.js.map +1 -1
  18. package/build/cjs/src/identity-oauth-v1-refresh-token.public.d.ts +1 -1
  19. package/build/cjs/src/identity-oauth-v1-refresh-token.types.d.ts +88 -65
  20. package/build/cjs/src/identity-oauth-v1-refresh-token.universal.d.ts +143 -89
  21. package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js +10 -8
  22. package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
  23. package/build/es/index.d.ts +1 -0
  24. package/build/es/index.js +1 -0
  25. package/build/es/index.js.map +1 -1
  26. package/build/es/src/iam-authentication-v1-authentication.http.d.ts +5 -0
  27. package/build/es/src/iam-authentication-v1-authentication.http.js +146 -0
  28. package/build/es/src/iam-authentication-v1-authentication.http.js.map +1 -0
  29. package/build/es/src/iam-authentication-v1-authentication.public.d.ts +7 -0
  30. package/build/es/src/iam-authentication-v1-authentication.public.js +18 -0
  31. package/build/es/src/iam-authentication-v1-authentication.public.js.map +1 -0
  32. package/build/es/src/iam-authentication-v1-authentication.types.d.ts +191 -0
  33. package/build/es/src/iam-authentication-v1-authentication.types.js +29 -0
  34. package/build/es/src/iam-authentication-v1-authentication.types.js.map +1 -0
  35. package/build/es/src/iam-authentication-v1-authentication.universal.d.ts +226 -0
  36. package/build/es/src/iam-authentication-v1-authentication.universal.js +248 -0
  37. package/build/es/src/iam-authentication-v1-authentication.universal.js.map +1 -0
  38. package/build/es/src/identity-oauth-v1-refresh-token.http.js +6 -0
  39. package/build/es/src/identity-oauth-v1-refresh-token.http.js.map +1 -1
  40. package/build/es/src/identity-oauth-v1-refresh-token.public.d.ts +1 -1
  41. package/build/es/src/identity-oauth-v1-refresh-token.types.d.ts +88 -65
  42. package/build/es/src/identity-oauth-v1-refresh-token.universal.d.ts +143 -89
  43. package/build/es/src/identity-oauth-v1-refresh-token.universal.js +10 -8
  44. package/build/es/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
  45. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iam-authentication-v1-authentication.universal.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,8CAA8C,MAAM,6CAA6C,CAAC;AAE9G,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,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AC,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"}
@@ -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,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAchD,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,gBAAgB,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3C,MAAM,aAAa,GAAG,EAA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AE/B,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,+HAA+H;AAC/H,MAAM,UAAU,YAAY,CAC1B,OAA4B;IAE5B,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,CACrD,oBAAoB,EACpB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAAC;IAEpE,SAAS,cAAc,CAAC,EAAE,IAAI,EAAO;QACnC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,KAAY;YACpB,GAAG,EAAE,qCAAqC,CAAC;gBACzC,SAAS,EAAE,yBAAyB;gBACpC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iBAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,cAAc,CAAC,OAAO,GAAG,OAAO,CAAC;IAEjC,OAAO,cAAc,CAAC;AACxB,CAAC"}
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,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAchD,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,gBAAgB,GA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F,MAAM,EAAE,iBAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;IAE/B,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,+HAA+H;AAC/H,MAAM,UAAU,YAAY,CAC1B,OAA4B;IAE5B,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,CACrD,oBAAoB,EACpB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAAC;IAEpE,SAAS,cAAc,CAAC,EAAE,IAAI,EAAO;QACnC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,KAAY;YACpB,GAAG,EAAE,qCAAqC,CAAC;gBACzC,SAAS,EAAE,yBAAyB;gBACpC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iBAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,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, 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';
@@ -1,30 +1,48 @@
1
1
  export interface RefreshToken {
2
2
  token?: string;
3
3
  }
4
+ /**
5
+ * AuthorizeRequest is sent by the client to the authorization server to initiate
6
+ * the authorization process.
7
+ */
4
8
  export interface AuthorizeRequest {
5
- /** Tells the authorization server which grant to execute. */
6
- responseType?: string;
7
- /** The ID of the application that asks for authorization. */
9
+ /** client_id is the unique identifier of the client application. */
8
10
  clientId?: string;
9
- /** Holds a URL. A successful response from this endpoint results in a redirect to this URL. */
10
- redirectUri?: string | null;
11
- /** A list of scopes that the application requires. */
12
- scope?: Scope;
13
- /** 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. */
11
+ /**
12
+ * response_type specifies the desired authorization grant type.
13
+ * This can be "code" for the authorization code.
14
+ */
15
+ 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
+ */
20
+ redirectUri?: string;
21
+ /**
22
+ * scope is a space-delimited string that specifies the requested scope of the
23
+ * access request.
24
+ */
25
+ scope?: string | null;
26
+ /**
27
+ * An opaque value, used for security purposes. If this request parameter is set
28
+ * in the request, then it is returned to the application as part of the redirect_uri.
29
+ */
14
30
  state?: string;
15
31
  /** (Optional) How the result of the authorization request is formatted */
16
32
  responseMode?: string | null;
17
- /** PKCE hashed code */
33
+ /**
34
+ * code_challenge is the code challenge sent by the client as part of the PKCE
35
+ * process. This field is only used if response_type is "code".
36
+ */
18
37
  codeChallenge?: string | null;
19
- /** PKCE hashing method */
38
+ /**
39
+ * code_challenge_method is the code challenge method sent by the client as part
40
+ * of the PKCE process. This field is only used if response_type is "code".
41
+ */
20
42
  codeChallengeMethod?: string | null;
21
43
  /** Current client session */
22
44
  sessionToken?: string | null;
23
45
  }
24
- export interface Scope {
25
- /** A list of permissions that the application requires. Empty list means the default list of scopes. */
26
- ids?: string[];
27
- }
28
46
  export interface RawHttpResponse {
29
47
  body?: Uint8Array;
30
48
  statusCode?: number | null;
@@ -34,64 +52,57 @@ export interface HeadersEntry {
34
52
  key?: string;
35
53
  value?: string;
36
54
  }
37
- export interface TokenRequest extends TokenRequestGrantTypeOneOf {
38
- /** Authorization code given at the authorize endpoint. */
39
- authorizationCode?: AuthorizationCode;
40
- /** Authorization code given at the authorize endpoint with the PKCE extention. */
41
- pkce?: PKCE;
42
- /** Device code given at the device code endpoint. */
43
- deviceCode?: DeviceCode;
44
- /** Refresh Token that was issued by this service beforehand. */
45
- refreshToken?: RefreshToken;
46
- /** Client credentials for authenticating a client */
47
- clientCredentials?: ClientCredentials;
48
- /** Granting a pre authenticated token for basic access. */
49
- preAuthenticated?: PreAuthenticated;
50
- }
51
- /** @oneof */
52
- export interface TokenRequestGrantTypeOneOf {
53
- /** Authorization code given at the authorize endpoint. */
54
- authorizationCode?: AuthorizationCode;
55
- /** Authorization code given at the authorize endpoint with the PKCE extention. */
56
- pkce?: PKCE;
57
- /** Device code given at the device code endpoint. */
58
- deviceCode?: DeviceCode;
59
- /** Refresh Token that was issued by this service beforehand. */
60
- refreshToken?: RefreshToken;
61
- /** Client credentials for authenticating a client */
62
- clientCredentials?: ClientCredentials;
63
- /** Granting a pre authenticated token for basic access. */
64
- preAuthenticated?: PreAuthenticated;
65
- }
66
- export interface AuthorizationCode {
67
- code?: string;
68
- }
69
- export interface PKCE {
70
- authorizationCode?: AuthorizationCode;
71
- /** PKCE code */
55
+ /**
56
+ * TokenRequest is sent by the client to the authorization server to request an
57
+ * access token.
58
+ */
59
+ export interface TokenRequest {
60
+ /** The application id that want to obtain an access token. */
61
+ clientId?: string | null;
62
+ /**
63
+ * grant_type specifies the grant type being used. supported grant types are:
64
+ * `authorization_code`, `client_credentials`, `refresh_token`, `urn:ietf:params:oauth:grant-type:device_code`, `anonymous`
65
+ */
66
+ grantType?: string;
67
+ /** Required for `refresh_token` grant type. */
68
+ refreshToken?: string | null;
69
+ /** Required for `client_credentials` grant type. */
70
+ clientSecret?: string | null;
71
+ /**
72
+ * Required for `urn:ietf:params:oauth:grant-type:device_code` grant type. The device verification code, "device_code" from the
73
+ * device authorization response
74
+ */
75
+ deviceCode?: string | null;
76
+ /** Required for the `authorization_code` grant type. */
77
+ redirectUri?: string | null;
78
+ /** Required for `authorization_code` grant type. */
72
79
  code?: string | null;
73
- }
74
- export interface DeviceCode {
75
- deviceCode?: string;
76
- }
77
- export interface ClientCredentials {
78
- }
79
- export interface PreAuthenticated {
80
- clientId?: string;
80
+ /** Optional, used if code challenge and code method were used in `authorization_code` grant type. */
81
+ codeVerifier?: string | null;
81
82
  }
82
83
  export interface TokenResponse {
83
- accessToken?: AccessToken;
84
- refreshToken?: RefreshToken;
85
- }
86
- export interface AccessToken {
87
- /** The access token string as issued by the authorization server. */
88
- token?: string;
84
+ /** The access token issued by the authorization server. */
85
+ accessToken?: string;
86
+ /** The type of the token issued as described in Section 7.1. of the oauth2 rfc. */
87
+ tokenType?: string;
88
+ /**
89
+ * The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will
90
+ * expire in one hour from the time the response was generated.
91
+ */
92
+ expiresIn?: number;
93
+ /** The refresh token, which can be used to obtain new access tokens. */
94
+ refreshToken?: string | null;
95
+ /** OPTIONAL, if identical to the scope requested by the client; otherwise, will be sent. */
96
+ scope?: string | null;
89
97
  }
90
98
  export interface DeviceCodeRequest {
91
99
  /** The ID of the application that asks for authorization. */
92
100
  clientId?: string;
93
- /** A list of permissions that the application requires. Empty list means the default list of scopes. */
94
- scope?: Scope;
101
+ /**
102
+ * scope is a space-delimited string that specifies the requested scope of the
103
+ * access request.
104
+ */
105
+ scope?: string | null;
95
106
  }
96
107
  export interface DeviceCodeResponse {
97
108
  /** 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. */
@@ -111,3 +122,15 @@ export interface DeviceVerifyRequest {
111
122
  }
112
123
  export interface DeviceVerifyResponse {
113
124
  }
125
+ export interface InvalidateUserCodeRequest {
126
+ /** user code to invalidate. Only the authorizing identity is able to invalidate it. */
127
+ userCode?: string;
128
+ }
129
+ export interface InvalidateUserCodeResponse {
130
+ }
131
+ export interface RevokeRefreshTokenRequest {
132
+ /** The refresh token itself. Anyone with the token itself is able to revoke it. */
133
+ refreshToken?: string;
134
+ }
135
+ export interface RevokeRefreshTokenResponse {
136
+ }
@@ -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. */
@@ -117,26 +128,56 @@ export interface DeviceVerifyRequest {
117
128
  }
118
129
  export interface DeviceVerifyResponse {
119
130
  }
131
+ export interface InvalidateUserCodeRequest {
132
+ /** user code to invalidate. Only the authorizing identity is able to invalidate it. */
133
+ userCode?: string;
134
+ }
135
+ export interface InvalidateUserCodeResponse {
136
+ }
137
+ export interface RevokeRefreshTokenRequest {
138
+ /** The refresh token itself. Anyone with the token itself is able to revoke it. */
139
+ refreshToken?: string;
140
+ }
141
+ export interface RevokeRefreshTokenResponse {
142
+ }
120
143
  /** @public
121
144
  * @documentationMaturity preview
122
145
  */
123
146
  export declare function authorize(options?: AuthorizeOptions): Promise<RawHttpResponse>;
124
147
  export interface AuthorizeOptions {
125
- /** Tells the authorization server which grant to execute. */
126
- responseType?: string;
127
- /** The ID of the application that asks for authorization. */
148
+ /** client_id is the unique identifier of the client application. */
128
149
  clientId?: string;
129
- /** Holds a URL. A successful response from this endpoint results in a redirect to this URL. */
130
- redirectUri?: string | null;
131
- /** A list of scopes that the application requires. */
132
- scope?: Scope;
133
- /** 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
+ */
134
169
  state?: string;
135
170
  /** (Optional) How the result of the authorization request is formatted */
136
171
  responseMode?: string | null;
137
- /** 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
+ */
138
176
  codeChallenge?: string | null;
139
- /** 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
+ */
140
181
  codeChallengeMethod?: string | null;
141
182
  /** Current client session */
142
183
  sessionToken?: string | null;
@@ -146,18 +187,28 @@ export interface AuthorizeOptions {
146
187
  */
147
188
  export declare function token(options?: TokenOptions): Promise<TokenResponse>;
148
189
  export interface TokenOptions {
149
- /** Authorization code given at the authorize endpoint. */
150
- authorizationCode?: AuthorizationCode;
151
- /** Authorization code given at the authorize endpoint with the PKCE extention. */
152
- pkce?: PKCE;
153
- /** Device code given at the device code endpoint. */
154
- deviceCode?: DeviceCode;
155
- /** Refresh Token that was issued by this service beforehand. */
156
- refreshToken?: RefreshToken;
157
- /** Client credentials for authenticating a client */
158
- clientCredentials?: ClientCredentials;
159
- /** Granting a pre authenticated token for basic access. */
160
- 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;
161
212
  }
162
213
  /**
163
214
  * this endpoint serves the Device Authorization Flow as described in https://www.rfc-editor.org/rfc/pdfrfc/rfc8628.txt.pdf
@@ -168,8 +219,11 @@ export declare function deviceCode(options?: DeviceCodeOptions): Promise<DeviceC
168
219
  export interface DeviceCodeOptions {
169
220
  /** The ID of the application that asks for authorization. */
170
221
  clientId?: string;
171
- /** A list of permissions that the application requires. Empty list means the default list of scopes. */
172
- 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;
173
227
  }
174
228
  /**
175
229
  * this endpoint serves the Device Authorization Flow as described in https://www.rfc-editor.org/rfc/pdfrfc/rfc8628.txt.pdf
@@ -39,8 +39,8 @@ export function authorize(options) {
39
39
  var _a, _b, _c;
40
40
  return __awaiter(this, arguments, void 0, function* () {
41
41
  const requestTransformation = {
42
- responseType: '$[0].responseType',
43
42
  clientId: '$[0].clientId',
43
+ responseType: '$[0].responseType',
44
44
  redirectUri: '$[0].redirectUri',
45
45
  scope: '$[0].scope',
46
46
  state: '$[0].state',
@@ -95,12 +95,14 @@ export function token(options) {
95
95
  var _a, _b, _c;
96
96
  return __awaiter(this, arguments, void 0, function* () {
97
97
  const requestTransformation = {
98
- authorizationCode: '$[0].authorizationCode',
99
- pkce: '$[0].pkce',
100
- deviceCode: '$[0].deviceCode',
98
+ clientId: '$[0].clientId',
99
+ grantType: '$[0].grantType',
101
100
  refreshToken: '$[0].refreshToken',
102
- clientCredentials: '$[0].clientCredentials',
103
- preAuthenticated: '$[0].preAuthenticated',
101
+ clientSecret: '$[0].clientSecret',
102
+ deviceCode: '$[0].deviceCode',
103
+ redirectUri: '$[0].redirectUri',
104
+ code: '$[0].code',
105
+ codeVerifier: '$[0].codeVerifier',
104
106
  };
105
107
  const responseTransformation = '$';
106
108
  // @ts-ignore
@@ -109,7 +111,7 @@ export function token(options) {
109
111
  rootSchema: _tokenRequest,
110
112
  depSchemas: {},
111
113
  fqdnTransformation: {
112
- paths: [...['refreshToken']],
114
+ paths: [],
113
115
  transformation: _fromVeloEntity,
114
116
  },
115
117
  customTransformation: requestTransformation,
@@ -118,7 +120,7 @@ export function token(options) {
118
120
  rootSchema: _tokenResponse,
119
121
  depSchemas: {},
120
122
  fqdnTransformation: {
121
- paths: [...['refreshToken']],
123
+ paths: [],
122
124
  transformation: _toVeloEntity,
123
125
  },
124
126
  customTransformation: responseTransformation,
@@ -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,IA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AwC,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,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"}
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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,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,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.4",
3
+ "version": "1.0.6",
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": "8329486d691bad5dcf356157f5528bfa40fed67bd28a73c27f89daa1"
36
+ "falconPackageHash": "2754b08c9151df2cd61c937174c052ac62e17a09dd39ea093a7c5b74"
37
37
  }