Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: 🎸 configurable token for account management auth settings (#930)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: 🧨 no

✅ Closes: MT-17759
  • Loading branch information
mahsaelasticpath authored Jun 4, 2024
1 parent 284c3bf commit 5b9dd89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/types/account-authentication-settings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface AccountAuthenticationSettingsBase {
type: string
enable_self_signup: boolean,
auto_create_account_for_account_members: boolean,
account_management_authentication_token_timeout_secs?: number,
account_member_self_management: string
meta: object
relationships: {
Expand Down
4 changes: 4 additions & 0 deletions test/unit/account-authentication-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe('Moltin Account Authentication Settings', () => {
type: 'account_authentication_settings',
enable_self_signup: true,
auto_create_account_for_account_members: true,
account_management_authentication_token_timeout_secs: 200,
account_member_self_management: 'update_only'
}
})
Expand All @@ -40,6 +41,7 @@ describe('Moltin Account Authentication Settings', () => {
enable_self_signup: true,
auto_create_account_for_account_members: true,
account_member_self_management: 'update_only',
account_management_authentication_token_timeout_secs: 200,
relationships: {
authentication_realm: {
data: {
Expand All @@ -57,6 +59,7 @@ describe('Moltin Account Authentication Settings', () => {
type: 'account_authentication_settings',
enable_self_signup: true,
auto_create_account_for_account_members: true,
account_management_authentication_token_timeout_secs: 200,
account_member_self_management: 'update_only'
}

Expand All @@ -67,6 +70,7 @@ describe('Moltin Account Authentication Settings', () => {
type: 'account_authentication_settings',
enable_self_signup: true,
auto_create_account_for_account_members: true,
account_management_authentication_token_timeout_secs: 200,
account_member_self_management: 'update_only',
relationships: {
authentication_realm: {
Expand Down

0 comments on commit 5b9dd89

Please sign in to comment.