Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,8 @@ import AcceptInvitation from '@auth0/auth0-acul-js/accept-invitation';
const acceptInvitationManager = new AcceptInvitation();
await acceptInvitationManager.acceptInvitation();
```

**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional data collected from the user.
</ParamField>
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='changeLanguage' type='Promise<void>'>

This method changes the display language of the Universal Login page.
Expand All @@ -97,25 +83,21 @@ acceptInvitationManager.changeLanguage({
**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options">
[LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
</ParamField>

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions">LanguageChangeOptions</a></span>}>

<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>
<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional custom fields prefixed with `ulp-` (for example, `'ulp-custom-field'`).
</ParamField>
<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='getErrors' type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,32 +74,27 @@ bruteForceProtectionUnblockManager.changeLanguage({
**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options">
[LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
</ParamField>

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions">LanguageChangeOptions</a></span>}>

<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>
<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional custom fields prefixed with `ulp-` (for example, `'ulp-custom-field'`).
</ParamField>
<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='getErrors' type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>

This method retrieves the array of transaction errors from the context, or an empty array if none exist.

</ParamField>
***

<ParamField body='unblockAccount' type='Promise<void>'>

Expand All @@ -110,17 +105,4 @@ import BruteForceProtectionUnblock from '@auth0/auth0-acul-js/brute-force-protec
const bruteForceProtectionUnblockManager = new BruteForceProtectionUnblock();
await bruteForceProtectionUnblockManager.unblockAccount();
```

**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional data collected from the user.
</ParamField>
</ParamField>

</Expandable>
</ParamField>
Original file line number Diff line number Diff line change
Expand Up @@ -74,25 +74,21 @@ bruteForceProtectionUnblockFailureManager.changeLanguage({
**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options">
[LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
</ParamField>

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions">LanguageChangeOptions</a></span>}>

<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>
<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional custom fields prefixed with `ulp-` (for example, `'ulp-custom-field'`).
</ParamField>
<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='getErrors' type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,25 +74,21 @@ bruteForceProtectionUnblockSuccessManager.changeLanguage({
**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options">
[LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
</ParamField>

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions">LanguageChangeOptions</a></span>}>

<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>
<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional custom fields prefixed with `ulp-` (for example, `'ulp-custom-field'`).
</ParamField>
<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='getErrors' type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>

Expand Down
50 changes: 9 additions & 41 deletions main/docs/libraries/acul/js-sdk/Screens/classes/Consent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,8 @@ import Consent from '@auth0/auth0-acul-js/consent';
const consentManager = new Consent();
await consentManager.accept();
```

**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional data collected from the user.
</ParamField>
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='changeLanguage' type='Promise<void>'>

This method changes the display language of the Universal Login page.
Expand All @@ -97,25 +83,21 @@ consentManager.changeLanguage({
**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options">
[LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
</ParamField>

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions">LanguageChangeOptions</a></span>}>

<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>
<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional custom fields prefixed with `ulp-` (for example, `'ulp-custom-field'`).
</ParamField>
<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='deny' type='Promise<void>'>

Expand All @@ -126,21 +108,7 @@ import Consent from '@auth0/auth0-acul-js/consent';
const consentManager = new Consent();
await consentManager.deny();
```

**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional data collected from the user.
</ParamField>
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='getErrors' type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,8 @@ import CustomizedConsent from '@auth0/auth0-acul-js/customized-consent';
const customizedConsentManager = new CustomizedConsent();
await customizedConsentManager.accept();
```

**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional data collected from the user.
</ParamField>
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='changeLanguage' type='Promise<void>'>

This method changes the display language of the Universal Login page.
Expand All @@ -97,25 +83,21 @@ customizedConsentManager.changeLanguage({
**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options">
[LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
</ParamField>

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions">LanguageChangeOptions</a></span>}>

<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>
<ParamField body="language" type="string" required>
The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional custom fields prefixed with `ulp-` (for example, `'ulp-custom-field'`).
</ParamField>
<ParamField body="persist?" type='"session"'>
When set to `'session'`, the selected language persists for the duration of the session.
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='deny' type='Promise<void>'>

Expand All @@ -126,21 +108,7 @@ import CustomizedConsent from '@auth0/auth0-acul-js/customized-consent';
const customizedConsentManager = new CustomizedConsent();
await customizedConsentManager.deny();
```

**Method Parameters**

<Expandable title="Parameters">

<ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>

<ParamField body='[`key`: `string`]' type='"string" | "number" | "boolean" | "undefined"'>
Additional data collected from the user.
</ParamField>
</ParamField>

</Expandable>
</ParamField>
***

<ParamField body='getErrors' type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>

Expand Down
Loading
Loading