@asgardeo/auth-spa 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/asgardeo-spa.production.esm.js +2 -2
- package/dist/asgardeo-spa.production.esm.js.map +1 -1
- package/dist/asgardeo-spa.production.js +7 -7
- package/dist/asgardeo-spa.production.js.map +1 -1
- package/dist/asgardeo-spa.production.min.js +1 -1
- package/dist/asgardeo-spa.production.min.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.esm.js +2 -2
- package/dist/polyfilled/asgardeo-spa.production.esm.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.js +7 -7
- package/dist/polyfilled/asgardeo-spa.production.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.min.js +1 -1
- package/dist/polyfilled/asgardeo-spa.production.min.js.map +1 -1
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +7 -1
- package/dist/src/client.js.map +1 -1
- package/dist/src/constants/messages-types.d.ts +1 -0
- package/dist/src/constants/messages-types.d.ts.map +1 -1
- package/dist/src/constants/messages-types.js +1 -0
- package/dist/src/constants/messages-types.js.map +1 -1
- package/dist/src/helpers/authentication-helper.d.ts.map +1 -1
- package/dist/src/helpers/authentication-helper.js +5 -1
- package/dist/src/helpers/authentication-helper.js.map +1 -1
- package/dist/src/models/message.d.ts +2 -2
- package/dist/src/models/message.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/client.ts +7 -1
- package/src/constants/messages-types.ts +1 -0
- package/src/helpers/authentication-helper.ts +6 -0
- package/src/models/message.ts +2 -0
package/README.md
CHANGED
|
@@ -1082,7 +1082,7 @@ This table shows the extended attributes provided by the `Config` interface.
|
|
|
1082
1082
|
| `id` | Required | `string` | "" | Every custom-grant request should have an id. This attributes takes that id. |
|
|
1083
1083
|
| `data` | Required | `any` | `null` | The data that should be sent in the body of the custom-grant request. You can use template tags to send session information. Refer to the [Custom Grant Template Tags](#custom-grant-template-tags) section for more details. |
|
|
1084
1084
|
| `signInRequired` | Required | `boolean` | `false` | Specifies if the user should be sign-in or not to dispatch this custom-grant request. |
|
|
1085
|
-
| `attachToken` | Required | `boolean` | `false` | Specifies if the access token should be attached to the header of the request. |
|
|
1085
|
+
| `attachToken` | Required | `boolean` | `false` | Specifies if the access token should be attached to the header of the request. <br/><br/> 💡 **Note** : If the request is credentialed, server must specify a domain, and cannot use wild carding. This would lead to [CORS errors](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) and if you intend to bypass this behavior per request, add `wihCredentials: false` to the `httpRequest` config. |
|
|
1086
1086
|
| `returnsSession` | Required | `boolean` | `false` | Specifies if the the request returns session information such as the access token. |
|
|
1087
1087
|
| `tokenEndpoint` | Optional | `string` | `null` | Token endpoint is an optional parameter which can be used to provide an optional token endpoint that will be used instead of default token endpoint. |
|
|
1088
1088
|
|