Skip to content

Commit

Permalink
Remove OAuth tenant code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcook-stytch committed Jul 24, 2024
1 parent 9a2e881 commit 2b16581
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/stytch/b2b_organizations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,6 @@ def get(
#
# 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.allowed-mfa-methods` action on the `stytch.organization` Resource.
# The type of this field is nilable list of +String+.
# oauth_tenant_jit_provisioning::
# (no documentation yet)
# The type of this field is nilable +String+.
# allowed_oauth_tenants::
# (no documentation yet)
# The type of this field is nilable +object+.
#
# == Returns:
# An object with the following fields:
Expand Down Expand Up @@ -399,8 +393,6 @@ def update(
rbac_email_implicit_role_assignments: nil,
mfa_methods: nil,
allowed_mfa_methods: nil,
oauth_tenant_jit_provisioning: nil,
allowed_oauth_tenants: nil,
method_options: nil
)
headers = {}
Expand All @@ -422,8 +414,6 @@ def update(
request[:rbac_email_implicit_role_assignments] = rbac_email_implicit_role_assignments unless rbac_email_implicit_role_assignments.nil?
request[:mfa_methods] = mfa_methods unless mfa_methods.nil?
request[:allowed_mfa_methods] = allowed_mfa_methods unless allowed_mfa_methods.nil?
request[:oauth_tenant_jit_provisioning] = oauth_tenant_jit_provisioning unless oauth_tenant_jit_provisioning.nil?
request[:allowed_oauth_tenants] = allowed_oauth_tenants unless allowed_oauth_tenants.nil?

put_request("/v1/b2b/organizations/#{organization_id}", request, headers)
end
Expand Down

0 comments on commit 2b16581

Please sign in to comment.