stytch 7.3.0 → 7.4.0
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.
- checksums.yaml +4 -4
- data/lib/stytch/b2b_organizations.rb +5 -0
- data/lib/stytch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a534c93eef95fb3710c46e843357100e41491a8f6f8c182e86b06b6a307e7da
|
4
|
+
data.tar.gz: cfa1764af050bb606eec31e0aaceb19e016a0379593027c78d9e88d62563d863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c920d683660f611cc4a9f359246b9546e2754791548c958e2ff69b1f7437c87b69167de85d04a040226dea956df283a30e9320cc5001a326d319acb524f5edd
|
7
|
+
data.tar.gz: 150fb78767e8875201c3f7dbb4dc335e75704f9fa36f80a269b40f2380c8ac2f1d816ca79a5da40cdbbfe48ecc975725c777987cac6b26d84ed3a5db3fcf0e90
|
@@ -590,6 +590,9 @@ module StytchB2B
|
|
590
590
|
# If this field is provided and a session header is passed into the request, the Member Session must have permission to perform the `update.settings.default-mfa-method` action on the `stytch.member` Resource.
|
591
591
|
# Alternatively, if the Member Session matches the Member associated with the `member_id` passed in the request, the authorization check will also allow a Member Session that has permission to perform the `update.settings.default-mfa-method` action on the `stytch.self` Resource.
|
592
592
|
# The type of this field is nilable +String+.
|
593
|
+
# email_address::
|
594
|
+
# Updates the Member's `email_address`, if provided.
|
595
|
+
# The type of this field is nilable +String+.
|
593
596
|
#
|
594
597
|
# == Returns:
|
595
598
|
# An object with the following fields:
|
@@ -623,6 +626,7 @@ module StytchB2B
|
|
623
626
|
roles: nil,
|
624
627
|
preserve_existing_sessions: nil,
|
625
628
|
default_mfa_method: nil,
|
629
|
+
email_address: nil,
|
626
630
|
method_options: nil
|
627
631
|
)
|
628
632
|
headers = {}
|
@@ -637,6 +641,7 @@ module StytchB2B
|
|
637
641
|
request[:roles] = roles unless roles.nil?
|
638
642
|
request[:preserve_existing_sessions] = preserve_existing_sessions unless preserve_existing_sessions.nil?
|
639
643
|
request[:default_mfa_method] = default_mfa_method unless default_mfa_method.nil?
|
644
|
+
request[:email_address] = email_address unless email_address.nil?
|
640
645
|
|
641
646
|
put_request("/v1/b2b/organizations/#{organization_id}/members/#{member_id}", request, headers)
|
642
647
|
end
|
data/lib/stytch/version.rb
CHANGED