You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -331,17 +331,17 @@ These common options are used in multiple APIs. Instead of repeating the same op
331
331
332
332
<strong>NOTE:</strong> Since `options` are optional for each function call in the SDK, they will be read from the [init options](?id=api-init_options) by default if none are provided.
333
333
334
-
| Parameter | Type | Required | Default Value | Description |
| options.email | string | false | Value set during `init`. | Email used to pre-fill the email field in login or sign up or form. |
337
-
| options.backTo | string | false | Value set during `init`. | A redirection URL for redirecting a guest back to in the following condition: <li>Guest clicks on `Back to [App Name]` button in any Moneytree screen.</li><li>Guest refuses to give consent to access permission in the consent screen.</li><li>Guest logs out from Moneytree via an app with this client id</li><li>Revoke an app's consent from settings screen opened via an app with this client id</li><br /><br /><strong>NOTE:</strong> No `Back to [App Name]` button will be shown if this value is not set, and any of the actions mentioned above will redirect the guest back to login screen by default. |
338
-
| <spanid="authorize_option_auth_action">options.authAction</span> |`login`, `signup`| false | Value set during `init`.<p><strong>OR</strong></p>`login`| Show login or sign up screen when a session does not exist during an `authorize` call. |
339
-
| options.showAuthToggle | boolean | false | Value set during `init`.<p><strong>OR</strong></p>`true`| If you wish to disable the login to sign up form toggle button and vice-versa in the auth screen, set this to `false`. |
340
-
| options.showRememberMe | boolean | false | Value set during `init`.<p><strong>OR</strong></p>`true`| If you wish to disable the `Stay logged in for 30 days` checkbox in the login screen, set this to `false`. w |
341
-
| options.isNewTab | boolean | false | Value set during `init`.<p><strong>OR</strong></p>`false`| Call method and open/render in a new browser tab, by default all views open in the same tab. |
342
-
| options.authnMethod | string <p><strong>OR</strong></p> string[]|| Value set during `init`. | Use different authentication methods. This can be a string or an array of the following values:<br /><br />`sso`, `passwordless`. |
343
-
| options.sdkPlatform (private) | string | false | Generated by the SDK. | <strong>NOTE: this is for Moneytree internal use, please do not use it to avoid unintended behavior!</strong><br /><br />Indicating sdk platform. |
344
-
| options.sdkVersion (private) | semver | false | Generated by the SDK. | <strong>NOTE: this is for Moneytree internal use, please do not use it to avoid unintended behavior!</strong><br /><br />Indicating sdk version. |
334
+
| Parameter | Type | Required | Default Value | Description |
| options.email | string | false | Value set during `init`. | Email used to pre-fill the email field in login or sign up or form. |
337
+
| options.backTo | string | false | Value set during `init`. | A redirection URL for redirecting a guest back to in the following condition: <li>Guest clicks on `Back to [App Name]` button in any Moneytree screen.</li><li>Guest refuses to give consent to access permission in the consent screen.</li><li>Guest logs out from Moneytree via an app with this client id</li><li>Revoke an app's consent from settings screen opened via an app with this client id</li><br /><br /><strong>NOTE:</strong> No `Back to [App Name]` button will be shown if this value is not set, and any of the actions mentioned above will redirect the guest back to login screen by default. |
338
+
| <spanid="authorize_option_auth_action">options.authAction</span> |`login`, `signup`| false | Value set during `init`.<p><strong>OR</strong></p>`login`| Show login or sign up screen when a session does not exist during an `authorize` call. |
339
+
| options.showAuthToggle | boolean | false | Value set during `init`.<p><strong>OR</strong></p>`true`| If you wish to disable the login to sign up form toggle button and vice-versa in the auth screen, set this to `false`. |
340
+
| options.showRememberMe | boolean | false | Value set during `init`.<p><strong>OR</strong></p>`true`| If you wish to disable the `Stay logged in for 30 days` checkbox in the login screen, set this to `false`. w |
341
+
| options.isNewTab | boolean | false | Value set during `init`.<p><strong>OR</strong></p>`false`| Call method and open/render in a new browser tab, by default all views open in the same tab. |
342
+
| options.authnMethod | string || Value set during `init`. | Use different authentication methods. This can be a string with the following values:<br /><br />`sso`, `passwordless`, `credentials`.|
343
+
| options.sdkPlatform (private) | string | false | Generated by the SDK. | <strong>NOTE: this is for Moneytree internal use, please do not use it to avoid unintended behavior!</strong><br /><br />Indicating sdk platform. |
344
+
| options.sdkVersion (private) | semver | false | Generated by the SDK. | <strong>NOTE: this is for Moneytree internal use, please do not use it to avoid unintended behavior!</strong><br /><br />Indicating sdk version. |
0 commit comments