auth0 6.6.0 → 6.7.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/.fern/metadata.json +2 -2
- data/.fern/replay.lock +358 -2
- data/.version +1 -1
- data/CHANGELOG.md +7 -0
- data/examples/ruby-api/Gemfile.lock +3 -3
- data/lib/auth0/clients/types/create_client_request_content.rb +2 -0
- data/lib/auth0/clients/types/update_client_request_content.rb +2 -0
- data/lib/auth0/connections/keys/client.rb +17 -3
- data/lib/auth0/emails/provider/client.rb +1 -6
- data/lib/auth0/emails/provider/types/create_email_provider_request_content.rb +1 -1
- data/lib/auth0/self_service_profiles/sso_ticket/types/create_self_service_profile_sso_ticket_request_content.rb +2 -0
- data/lib/auth0/types/client.rb +2 -0
- data/lib/auth0/types/client_credential_algorithm_enum.rb +2 -0
- data/lib/auth0/types/client_oidc_support.rb +2 -1
- data/lib/auth0/types/client_oidc_support_patch.rb +2 -1
- data/lib/auth0/types/client_oidc_support_post.rb +2 -2
- data/lib/auth0/types/client_profile_client_configuration_oidc_support.rb +1 -1
- data/lib/auth0/types/client_profile_client_configuration_oidc_support_default_value.rb +2 -1
- data/lib/auth0/types/client_search_response.rb +2 -0
- data/lib/auth0/types/connection_passkey_authentication_method.rb +2 -0
- data/lib/auth0/types/connection_password_options_dictionary.rb +2 -0
- data/lib/auth0/types/connection_properties_options.rb +4 -0
- data/lib/auth0/types/create_client_response_content.rb +2 -0
- data/lib/auth0/types/express_configuration.rb +2 -0
- data/lib/auth0/types/express_configuration_or_null.rb +2 -0
- data/lib/auth0/types/get_client_response_content.rb +2 -0
- data/lib/auth0/types/google_account_linking_configuration.rb +10 -0
- data/lib/auth0/types/google_account_linking_configuration_create.rb +10 -0
- data/lib/auth0/types/google_account_linking_configuration_or_null.rb +10 -0
- data/lib/auth0/types/include_user_profile_size_header_enum.rb +11 -0
- data/lib/auth0/types/log_stream_filter_group_name_enum.rb +3 -0
- data/lib/auth0/types/password_dictionary_match_type_enum.rb +12 -0
- data/lib/auth0/types/post_connection_keys_request_content.rb +2 -0
- data/lib/auth0/types/resource_server_type_enum.rb +1 -0
- data/lib/auth0/types/rotate_client_secret_response_content.rb +2 -0
- data/lib/auth0/types/rotate_connection_keys_request_content.rb +2 -0
- data/lib/auth0/types/screen_group_name_enum.rb +1 -0
- data/lib/auth0/types/self_service_profile_sso_ticket_universal_logout_config.rb +10 -0
- data/lib/auth0/types/tenant_settings_flags.rb +0 -2
- data/lib/auth0/types/update_client_response_content.rb +2 -0
- data/lib/auth0/types/update_connection_options.rb +4 -0
- data/lib/auth0/version.rb +1 -1
- data/lib/auth0.rb +7 -1
- data/wiremock/wiremock-mappings.json +6 -6
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34dc7dce387d0bac00a0defd9a8dff7a8673d5faf533b8f1730efa2ff1d6d302
|
|
4
|
+
data.tar.gz: 06b0ff4127f8f8909bc585602c222a6ed7de16bc684e708327a1a1ef19a583f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecae381a33f06205dd0049e5d678c1a5923337b4a051c0715385505f16d706969832f87d3fe112a7d8449128b3fd185a9bd3eafc49a218760f9225608152a05b
|
|
7
|
+
data.tar.gz: 8525ebfca5b9a9163dad9e988c2272187b435b151f5b54df0f95e5b7ba57278370637dc2ce12a697e3ece55bb4b525b38035555ca9826a7ab51793e09a2f0832
|
data/.fern/metadata.json
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"offsetSemantics": "page-index",
|
|
11
11
|
"useDefaultRequestParameterValues": true
|
|
12
12
|
},
|
|
13
|
-
"originGitCommit": "
|
|
13
|
+
"originGitCommit": "dfded8abd2b8d91fe880f4902318f57eb06a2ad5",
|
|
14
14
|
"originGitCommitIsDirty": false,
|
|
15
15
|
"invokedBy": "ci",
|
|
16
16
|
"ciProvider": "github",
|
|
17
|
-
"sdkVersion": "6.
|
|
17
|
+
"sdkVersion": "6.6.1"
|
|
18
18
|
}
|
data/.fern/replay.lock
CHANGED
|
@@ -18,5 +18,361 @@ generations:
|
|
|
18
18
|
cli_version: unknown
|
|
19
19
|
generator_versions:
|
|
20
20
|
fernapi/fern-ruby-sdk: 1.24.1
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
- commit_sha: 8f16c5ba6ce970469e504f47fbe5605b379de124
|
|
22
|
+
tree_hash: 852a37472751565d4c6380096f189090b28b016f
|
|
23
|
+
timestamp: 2026-11-10T05:41:03.373Z
|
|
24
|
+
cli_version: unknown
|
|
25
|
+
generator_versions:
|
|
26
|
+
fernapi/fern-ruby-sdk: 1.24.1
|
|
27
|
+
- commit_sha: 487253cd95fb1305c370bf0973df6d53933310b6
|
|
28
|
+
tree_hash: dd91d8b7b6ceb2adad8f927f904c401ef91d81b9
|
|
29
|
+
timestamp: 2026-11-20T12:35:07.175Z
|
|
30
|
+
cli_version: unknown
|
|
31
|
+
generator_versions:
|
|
32
|
+
fernapi/fern-ruby-sdk: 1.24.1
|
|
33
|
+
current_generation: 487253cd95fb1305c370bf0973df6d53933310b6
|
|
34
|
+
patches:
|
|
35
|
+
- id: patch-5a1782fc
|
|
36
|
+
content_hash: sha256:8aea3ea0a93faa21d0607694f46b315971db566c5f330f592ae3a221b3e45335
|
|
37
|
+
original_commit: 5a1782fc06064e114f3c868c806d09f5bcb84e4b
|
|
38
|
+
original_message: Restore Management client options and auth_client require
|
|
39
|
+
original_author: Snehil Kishore <snehil.kishore@okta.com>
|
|
40
|
+
base_generation: 487253cd95fb1305c370bf0973df6d53933310b6
|
|
41
|
+
files:
|
|
42
|
+
- lib/auth0/client.rb
|
|
43
|
+
patch_content: |
|
|
44
|
+
diff --git a/lib/auth0/client.rb b/lib/auth0/client.rb
|
|
45
|
+
index 96eb01a7..7f110150 100644
|
|
46
|
+
--- a/lib/auth0/client.rb
|
|
47
|
+
+++ b/lib/auth0/client.rb
|
|
48
|
+
@@ -4,27 +4,31 @@ module Auth0
|
|
49
|
+
class Management
|
|
50
|
+
# @param token [String]
|
|
51
|
+
# @param base_url [String, nil]
|
|
52
|
+
- # @param tenant_domain [String, nil]
|
|
53
|
+
- # @param max_retries [Integer]
|
|
54
|
+
+ # @param tenant_domain [String, nil] Tenant domain, such as "example.auth0.com", used to build the base URL.
|
|
55
|
+
+ # @param timeout [Float, nil] Request timeout in seconds.
|
|
56
|
+
+ # @param max_retries [Integer] Maximum number of request retries, defaults to 2.
|
|
57
|
+
+ # @param headers [Hash, nil] Additional headers to include in requests.
|
|
58
|
+
#
|
|
59
|
+
# @return [void]
|
|
60
|
+
- def initialize(token:, base_url: nil, tenant_domain: nil, max_retries: 2)
|
|
61
|
+
+ def initialize(token:, base_url: nil, tenant_domain: nil, timeout: nil, max_retries: 2, headers: nil)
|
|
62
|
+
unless tenant_domain.nil?
|
|
63
|
+
- tenant_domain_value = tenant_domain.nil? ? "{TENANT}.auth0.com" : tenant_domain
|
|
64
|
+
environment_url_templates = {
|
|
65
|
+
- Auth0::Environment::DEFAULT => "https://#{tenant_domain_value}/api/v2"
|
|
66
|
+
+ Auth0::Environment::DEFAULT => "https://#{tenant_domain}/api/v2"
|
|
67
|
+
}
|
|
68
|
+
- base_url = base_url.nil? ? "https://#{tenant_domain_value}/api/v2" : environment_url_templates.fetch(base_url, base_url)
|
|
69
|
+
+ base_url = base_url.nil? ? "https://#{tenant_domain}/api/v2" : environment_url_templates.fetch(base_url, base_url)
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
- @raw_client = Auth0::Internal::Http::RawClient.new(
|
|
73
|
+
+ raw_client_opts = {
|
|
74
|
+
base_url: base_url || Auth0::Environment::DEFAULT,
|
|
75
|
+
headers: {
|
|
76
|
+
"X-Fern-Language" => "Ruby",
|
|
77
|
+
Authorization: "Bearer #{token}"
|
|
78
|
+
- },
|
|
79
|
+
- max_retries: max_retries
|
|
80
|
+
- )
|
|
81
|
+
+ }.merge(headers || {})
|
|
82
|
+
+ }
|
|
83
|
+
+ raw_client_opts[:timeout] = timeout if timeout
|
|
84
|
+
+ raw_client_opts[:max_retries] = max_retries if max_retries
|
|
85
|
+
+
|
|
86
|
+
+ @raw_client = Auth0::Internal::Http::RawClient.new(**raw_client_opts)
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# @return [Auth0::Actions::Client]
|
|
90
|
+
@@ -273,3 +277,5 @@ module Auth0
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
+
|
|
95
|
+
+require_relative "auth_client"
|
|
96
|
+
theirs_snapshot:
|
|
97
|
+
lib/auth0/client.rb: |
|
|
98
|
+
# frozen_string_literal: true
|
|
99
|
+
|
|
100
|
+
module Auth0
|
|
101
|
+
class Management
|
|
102
|
+
# @param token [String]
|
|
103
|
+
# @param base_url [String, nil]
|
|
104
|
+
# @param tenant_domain [String, nil] Tenant domain, such as "example.auth0.com", used to build the base URL.
|
|
105
|
+
# @param timeout [Float, nil] Request timeout in seconds.
|
|
106
|
+
# @param max_retries [Integer] Maximum number of request retries, defaults to 2.
|
|
107
|
+
# @param headers [Hash, nil] Additional headers to include in requests.
|
|
108
|
+
#
|
|
109
|
+
# @return [void]
|
|
110
|
+
def initialize(token:, base_url: nil, tenant_domain: nil, timeout: nil, max_retries: 2, headers: nil)
|
|
111
|
+
unless tenant_domain.nil?
|
|
112
|
+
environment_url_templates = {
|
|
113
|
+
Auth0::Environment::DEFAULT => "https://#{tenant_domain}/api/v2"
|
|
114
|
+
}
|
|
115
|
+
base_url = base_url.nil? ? "https://#{tenant_domain}/api/v2" : environment_url_templates.fetch(base_url, base_url)
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
raw_client_opts = {
|
|
119
|
+
base_url: base_url || Auth0::Environment::DEFAULT,
|
|
120
|
+
headers: {
|
|
121
|
+
"X-Fern-Language" => "Ruby",
|
|
122
|
+
Authorization: "Bearer #{token}"
|
|
123
|
+
}.merge(headers || {})
|
|
124
|
+
}
|
|
125
|
+
raw_client_opts[:timeout] = timeout if timeout
|
|
126
|
+
raw_client_opts[:max_retries] = max_retries if max_retries
|
|
127
|
+
|
|
128
|
+
@raw_client = Auth0::Internal::Http::RawClient.new(**raw_client_opts)
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# @return [Auth0::Actions::Client]
|
|
132
|
+
def actions
|
|
133
|
+
@actions ||= Auth0::Actions::Client.new(client: @raw_client)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# @return [Auth0::Agents::Client]
|
|
137
|
+
def agents
|
|
138
|
+
@agents ||= Auth0::Agents::Client.new(client: @raw_client)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# @return [Auth0::Branding::Client]
|
|
142
|
+
def branding
|
|
143
|
+
@branding ||= Auth0::Branding::Client.new(client: @raw_client)
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# @return [Auth0::ClientGrants::Client]
|
|
147
|
+
def client_grants
|
|
148
|
+
@client_grants ||= Auth0::ClientGrants::Client.new(client: @raw_client)
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# @return [Auth0::ClientProfiles::Client]
|
|
152
|
+
def client_profiles
|
|
153
|
+
@client_profiles ||= Auth0::ClientProfiles::Client.new(client: @raw_client)
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# @return [Auth0::Clients::Client]
|
|
157
|
+
def clients
|
|
158
|
+
@clients ||= Auth0::Clients::Client.new(client: @raw_client)
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# @return [Auth0::ConnectionProfiles::Client]
|
|
162
|
+
def connection_profiles
|
|
163
|
+
@connection_profiles ||= Auth0::ConnectionProfiles::Client.new(client: @raw_client)
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# @return [Auth0::Connections::Client]
|
|
167
|
+
def connections
|
|
168
|
+
@connections ||= Auth0::Connections::Client.new(client: @raw_client)
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# @return [Auth0::CustomDomains::Client]
|
|
172
|
+
def custom_domains
|
|
173
|
+
@custom_domains ||= Auth0::CustomDomains::Client.new(client: @raw_client)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# @return [Auth0::DeviceCredentials::Client]
|
|
177
|
+
def device_credentials
|
|
178
|
+
@device_credentials ||= Auth0::DeviceCredentials::Client.new(client: @raw_client)
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# @return [Auth0::EmailTemplates::Client]
|
|
182
|
+
def email_templates
|
|
183
|
+
@email_templates ||= Auth0::EmailTemplates::Client.new(client: @raw_client)
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# @return [Auth0::EventStreams::Client]
|
|
187
|
+
def event_streams
|
|
188
|
+
@event_streams ||= Auth0::EventStreams::Client.new(client: @raw_client)
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# @return [Auth0::Events::Client]
|
|
192
|
+
def events
|
|
193
|
+
@events ||= Auth0::Events::Client.new(client: @raw_client)
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# @return [Auth0::Flows::Client]
|
|
197
|
+
def flows
|
|
198
|
+
@flows ||= Auth0::Flows::Client.new(client: @raw_client)
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# @return [Auth0::Forms::Client]
|
|
202
|
+
def forms
|
|
203
|
+
@forms ||= Auth0::Forms::Client.new(client: @raw_client)
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# @return [Auth0::UserGrants::Client]
|
|
207
|
+
def user_grants
|
|
208
|
+
@user_grants ||= Auth0::UserGrants::Client.new(client: @raw_client)
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# @return [Auth0::Groups::Client]
|
|
212
|
+
def groups
|
|
213
|
+
@groups ||= Auth0::Groups::Client.new(client: @raw_client)
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# @return [Auth0::Guardian::Client]
|
|
217
|
+
def guardian
|
|
218
|
+
@guardian ||= Auth0::Guardian::Client.new(client: @raw_client)
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# @return [Auth0::Hooks::Client]
|
|
222
|
+
def hooks
|
|
223
|
+
@hooks ||= Auth0::Hooks::Client.new(client: @raw_client)
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# @return [Auth0::Jobs::Client]
|
|
227
|
+
def jobs
|
|
228
|
+
@jobs ||= Auth0::Jobs::Client.new(client: @raw_client)
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# @return [Auth0::LogStreams::Client]
|
|
232
|
+
def log_streams
|
|
233
|
+
@log_streams ||= Auth0::LogStreams::Client.new(client: @raw_client)
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# @return [Auth0::Logs::Client]
|
|
237
|
+
def logs
|
|
238
|
+
@logs ||= Auth0::Logs::Client.new(client: @raw_client)
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# @return [Auth0::NetworkACLs::Client]
|
|
242
|
+
def network_acls
|
|
243
|
+
@network_acls ||= Auth0::NetworkACLs::Client.new(client: @raw_client)
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# @return [Auth0::Organizations::Client]
|
|
247
|
+
def organizations
|
|
248
|
+
@organizations ||= Auth0::Organizations::Client.new(client: @raw_client)
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# @return [Auth0::Portals::Client]
|
|
252
|
+
def portals
|
|
253
|
+
@portals ||= Auth0::Portals::Client.new(client: @raw_client)
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
# @return [Auth0::Prompts::Client]
|
|
257
|
+
def prompts
|
|
258
|
+
@prompts ||= Auth0::Prompts::Client.new(client: @raw_client)
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# @return [Auth0::RateLimitPolicies::Client]
|
|
262
|
+
def rate_limit_policies
|
|
263
|
+
@rate_limit_policies ||= Auth0::RateLimitPolicies::Client.new(client: @raw_client)
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
# @return [Auth0::RefreshTokens::Client]
|
|
267
|
+
def refresh_tokens
|
|
268
|
+
@refresh_tokens ||= Auth0::RefreshTokens::Client.new(client: @raw_client)
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# @return [Auth0::ResourceServers::Client]
|
|
272
|
+
def resource_servers
|
|
273
|
+
@resource_servers ||= Auth0::ResourceServers::Client.new(client: @raw_client)
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
# @return [Auth0::Roles::Client]
|
|
277
|
+
def roles
|
|
278
|
+
@roles ||= Auth0::Roles::Client.new(client: @raw_client)
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
# @return [Auth0::Rules::Client]
|
|
282
|
+
def rules
|
|
283
|
+
@rules ||= Auth0::Rules::Client.new(client: @raw_client)
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# @return [Auth0::RulesConfigs::Client]
|
|
287
|
+
def rules_configs
|
|
288
|
+
@rules_configs ||= Auth0::RulesConfigs::Client.new(client: @raw_client)
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# @return [Auth0::SelfServiceProfiles::Client]
|
|
292
|
+
def self_service_profiles
|
|
293
|
+
@self_service_profiles ||= Auth0::SelfServiceProfiles::Client.new(client: @raw_client)
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# @return [Auth0::Sessions::Client]
|
|
297
|
+
def sessions
|
|
298
|
+
@sessions ||= Auth0::Sessions::Client.new(client: @raw_client)
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
# @return [Auth0::Stats::Client]
|
|
302
|
+
def stats
|
|
303
|
+
@stats ||= Auth0::Stats::Client.new(client: @raw_client)
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# @return [Auth0::SupplementalSignals::Client]
|
|
307
|
+
def supplemental_signals
|
|
308
|
+
@supplemental_signals ||= Auth0::SupplementalSignals::Client.new(client: @raw_client)
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# @return [Auth0::Tickets::Client]
|
|
312
|
+
def tickets
|
|
313
|
+
@tickets ||= Auth0::Tickets::Client.new(client: @raw_client)
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# @return [Auth0::TokenExchangeProfiles::Client]
|
|
317
|
+
def token_exchange_profiles
|
|
318
|
+
@token_exchange_profiles ||= Auth0::TokenExchangeProfiles::Client.new(client: @raw_client)
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
# @return [Auth0::UserAttributeProfiles::Client]
|
|
322
|
+
def user_attribute_profiles
|
|
323
|
+
@user_attribute_profiles ||= Auth0::UserAttributeProfiles::Client.new(client: @raw_client)
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
# @return [Auth0::UserBlocks::Client]
|
|
327
|
+
def user_blocks
|
|
328
|
+
@user_blocks ||= Auth0::UserBlocks::Client.new(client: @raw_client)
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
# @return [Auth0::Users::Client]
|
|
332
|
+
def users
|
|
333
|
+
@users ||= Auth0::Users::Client.new(client: @raw_client)
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# @return [Auth0::Anomaly::Client]
|
|
337
|
+
def anomaly
|
|
338
|
+
@anomaly ||= Auth0::Anomaly::Client.new(client: @raw_client)
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
# @return [Auth0::AttackProtection::Client]
|
|
342
|
+
def attack_protection
|
|
343
|
+
@attack_protection ||= Auth0::AttackProtection::Client.new(client: @raw_client)
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
# @return [Auth0::Emails::Client]
|
|
347
|
+
def emails
|
|
348
|
+
@emails ||= Auth0::Emails::Client.new(client: @raw_client)
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# @return [Auth0::Experimentation::Client]
|
|
352
|
+
def experimentation
|
|
353
|
+
@experimentation ||= Auth0::Experimentation::Client.new(client: @raw_client)
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# @return [Auth0::Keys::Client]
|
|
357
|
+
def keys
|
|
358
|
+
@keys ||= Auth0::Keys::Client.new(client: @raw_client)
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
# @return [Auth0::RiskAssessments::Client]
|
|
362
|
+
def risk_assessments
|
|
363
|
+
@risk_assessments ||= Auth0::RiskAssessments::Client.new(client: @raw_client)
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# @return [Auth0::Tenants::Client]
|
|
367
|
+
def tenants
|
|
368
|
+
@tenants ||= Auth0::Tenants::Client.new(client: @raw_client)
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# @return [Auth0::VerifiableCredentials::Client]
|
|
372
|
+
def verifiable_credentials
|
|
373
|
+
@verifiable_credentials ||= Auth0::VerifiableCredentials::Client.new(client: @raw_client)
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
require_relative "auth_client"
|
data/.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v6.
|
|
1
|
+
v6.7.0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v6.7.0](https://github.com/auth0/ruby-auth0/tree/v6.7.0) (2026-11-23)
|
|
4
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v6.6.0...v6.7.0)
|
|
5
|
+
|
|
6
|
+
**Added**
|
|
7
|
+
- feat!: add Google Account Linking, OIN listing URL and Universal Logout config, and remove genai_trial tenant flag [\#834](https://github.com/auth0/ruby-auth0/pull/834) ([fern-api[bot]](https://github.com/apps/fern-api))
|
|
8
|
+
- feat: add Passkey Signup Behavior and Pending Consent screen [\#830](https://github.com/auth0/ruby-auth0/pull/830) ([fern-api[bot]](https://github.com/apps/fern-api))
|
|
9
|
+
|
|
3
10
|
## [v6.6.0](https://github.com/auth0/ruby-auth0/tree/v6.6.0) (2026-11-04)
|
|
4
11
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v6.5.0...v6.6.0)
|
|
5
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ../..
|
|
3
3
|
specs:
|
|
4
|
-
auth0 (6.
|
|
4
|
+
auth0 (6.7.0)
|
|
5
5
|
addressable (~> 2.8)
|
|
6
6
|
jwt (>= 2.7, < 4.0)
|
|
7
7
|
rest-client (~> 2.1)
|
|
@@ -11,7 +11,7 @@ PATH
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
addressable (2.9.
|
|
14
|
+
addressable (2.9.1)
|
|
15
15
|
public_suffix (>= 2.0.2, < 8.0)
|
|
16
16
|
base64 (0.3.0)
|
|
17
17
|
domain_name (0.6.20240107)
|
|
@@ -32,7 +32,7 @@ GEM
|
|
|
32
32
|
public_suffix (7.0.5)
|
|
33
33
|
puma (6.6.1)
|
|
34
34
|
nio4r (~> 2.0)
|
|
35
|
-
rack (3.2.
|
|
35
|
+
rack (3.2.8)
|
|
36
36
|
rack-protection (4.2.1)
|
|
37
37
|
base64 (>= 0.1.0)
|
|
38
38
|
logger (>= 1.6.0)
|
|
@@ -120,6 +120,8 @@ module Auth0
|
|
|
120
120
|
|
|
121
121
|
field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationPostConfiguration }, optional: true, nullable: false
|
|
122
122
|
|
|
123
|
+
field :google_account_linking, -> { Auth0::Types::GoogleAccountLinkingConfigurationCreate }, optional: true, nullable: false
|
|
124
|
+
|
|
123
125
|
field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false
|
|
124
126
|
|
|
125
127
|
field :agent_id, -> { String }, optional: true, nullable: false
|
|
@@ -118,6 +118,8 @@ module Auth0
|
|
|
118
118
|
|
|
119
119
|
field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationPatchConfiguration }, optional: true, nullable: false
|
|
120
120
|
|
|
121
|
+
field :google_account_linking, -> { Auth0::Types::GoogleAccountLinkingConfigurationOrNull }, optional: true, nullable: false
|
|
122
|
+
|
|
121
123
|
field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false
|
|
122
124
|
|
|
123
125
|
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
|
|
@@ -11,7 +11,9 @@ module Auth0
|
|
|
11
11
|
@client = client
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy.
|
|
14
|
+
# Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both
|
|
15
|
+
# signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta
|
|
16
|
+
# connections.
|
|
15
17
|
#
|
|
16
18
|
# @param request_options [Hash]
|
|
17
19
|
# @param params [Hash]
|
|
@@ -49,8 +51,13 @@ module Auth0
|
|
|
49
51
|
end
|
|
50
52
|
|
|
51
53
|
# Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows
|
|
52
|
-
# you to create keys before configuring the connection to use Private Key JWT authentication
|
|
53
|
-
# zero-downtime transitions.
|
|
54
|
+
# you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID
|
|
55
|
+
# tokens, enabling zero-downtime transitions.
|
|
56
|
+
#
|
|
57
|
+
# Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to
|
|
58
|
+
# `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and
|
|
59
|
+
# `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to
|
|
60
|
+
# OIDC and Okta connections. The response lists all of the connection's keys.
|
|
54
61
|
#
|
|
55
62
|
# @param request_options [Hash]
|
|
56
63
|
# @param params [Hash]
|
|
@@ -96,6 +103,13 @@ module Auth0
|
|
|
96
103
|
|
|
97
104
|
# Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies.
|
|
98
105
|
#
|
|
106
|
+
# Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to
|
|
107
|
+
# `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys
|
|
108
|
+
# requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires
|
|
109
|
+
# the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which
|
|
110
|
+
# applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses
|
|
111
|
+
# `id_token_encrypted_response_alg`.
|
|
112
|
+
#
|
|
99
113
|
# @param request_options [Hash]
|
|
100
114
|
# @param params [Hash]
|
|
101
115
|
# @option request_options [String] :base_url
|
|
@@ -94,12 +94,7 @@ module Auth0
|
|
|
94
94
|
# @option request_options [Integer] :timeout_in_seconds
|
|
95
95
|
#
|
|
96
96
|
# @example
|
|
97
|
-
# client.emails.provider.create(
|
|
98
|
-
# name: "mailgun",
|
|
99
|
-
# credentials: {
|
|
100
|
-
# api_key: "api_key"
|
|
101
|
-
# }
|
|
102
|
-
# )
|
|
97
|
+
# client.emails.provider.create(name: "mailgun")
|
|
103
98
|
#
|
|
104
99
|
# @return [Auth0::Types::CreateEmailProviderResponseContent]
|
|
105
100
|
def create(request_options: {}, **params)
|
|
@@ -11,7 +11,7 @@ module Auth0
|
|
|
11
11
|
|
|
12
12
|
field :default_from_address, -> { String }, optional: true, nullable: false
|
|
13
13
|
|
|
14
|
-
field :credentials, -> { Auth0::Types::EmailProviderCredentialsSchema }, optional:
|
|
14
|
+
field :credentials, -> { Auth0::Types::EmailProviderCredentialsSchema }, optional: true, nullable: false
|
|
15
15
|
|
|
16
16
|
field :settings, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
17
17
|
end
|
|
@@ -25,6 +25,8 @@ module Auth0
|
|
|
25
25
|
|
|
26
26
|
field :third_party_client_access_config, -> { Auth0::Types::ThirdPartyClientAccessConfig }, optional: true, nullable: false
|
|
27
27
|
|
|
28
|
+
field :universal_logout_config, -> { Auth0::Types::SelfServiceProfileSSOTicketUniversalLogoutConfig }, optional: true, nullable: false
|
|
29
|
+
|
|
28
30
|
field :enabled_features, -> { Auth0::Types::SelfServiceProfileSSOTicketEnabledFeatures }, optional: true, nullable: false
|
|
29
31
|
end
|
|
30
32
|
end
|
data/lib/auth0/types/client.rb
CHANGED
|
@@ -119,6 +119,8 @@ module Auth0
|
|
|
119
119
|
|
|
120
120
|
field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false
|
|
121
121
|
|
|
122
|
+
field :google_account_linking, -> { Auth0::Types::GoogleAccountLinkingConfiguration }, optional: true, nullable: false
|
|
123
|
+
|
|
122
124
|
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
|
|
123
125
|
|
|
124
126
|
field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module Auth0
|
|
4
4
|
module Types
|
|
5
|
-
#
|
|
5
|
+
# Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile
|
|
6
|
+
# information it can request through OIDC scopes.
|
|
6
7
|
class ClientOidcSupport < Internal::Types::Model
|
|
7
8
|
field :is_allowed, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
8
9
|
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module Auth0
|
|
4
4
|
module Types
|
|
5
|
-
#
|
|
5
|
+
# Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile
|
|
6
|
+
# information it can request through OIDC scopes.
|
|
6
7
|
class ClientOidcSupportPatch < Internal::Types::Model
|
|
7
8
|
field :is_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module Auth0
|
|
4
4
|
module Types
|
|
5
|
-
#
|
|
6
|
-
# request.
|
|
5
|
+
# Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile
|
|
6
|
+
# information it can request through OIDC scopes.
|
|
7
7
|
class ClientOidcSupportPost < Internal::Types::Model
|
|
8
8
|
field :is_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Auth0
|
|
4
4
|
module Types
|
|
5
|
-
# Default OIDC support applied to matched clients.
|
|
5
|
+
# Default OIDC support configuration applied to matched clients.
|
|
6
6
|
class ClientProfileClientConfigurationOidcSupport < Internal::Types::Model
|
|
7
7
|
field :default_value, -> { Auth0::Types::ClientProfileClientConfigurationOidcSupportDefaultValue }, optional: false, nullable: false
|
|
8
8
|
end
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module Auth0
|
|
4
4
|
module Types
|
|
5
|
-
#
|
|
5
|
+
# Controls whether matched clients can receive ID tokens and use the UserInfo endpoint, and which user profile
|
|
6
|
+
# information they can request through OIDC scopes.
|
|
6
7
|
class ClientProfileClientConfigurationOidcSupportDefaultValue < Internal::Types::Model
|
|
7
8
|
field :is_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
9
|
|
|
@@ -111,6 +111,8 @@ module Auth0
|
|
|
111
111
|
|
|
112
112
|
field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false
|
|
113
113
|
|
|
114
|
+
field :google_account_linking, -> { Auth0::Types::GoogleAccountLinkingConfiguration }, optional: true, nullable: false
|
|
115
|
+
|
|
114
116
|
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
|
|
115
117
|
|
|
116
118
|
field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
|
|
@@ -5,6 +5,8 @@ module Auth0
|
|
|
5
5
|
# Passkey authentication enablement
|
|
6
6
|
class ConnectionPasskeyAuthenticationMethod < Internal::Types::Model
|
|
7
7
|
field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :signup_behavior, -> { Auth0::Types::ConnectionSignupBehaviorEnum }, optional: true, nullable: false
|
|
8
10
|
end
|
|
9
11
|
end
|
|
10
12
|
end
|
|
@@ -8,6 +8,8 @@ module Auth0
|
|
|
8
8
|
|
|
9
9
|
field :custom, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :match_type, -> { Auth0::Types::PasswordDictionaryMatchTypeEnum }, optional: true, nullable: false
|
|
12
|
+
|
|
11
13
|
field :default, -> { Auth0::Types::PasswordDefaultDictionariesEnum }, optional: true, nullable: false
|
|
12
14
|
end
|
|
13
15
|
end
|
|
@@ -86,6 +86,10 @@ module Auth0
|
|
|
86
86
|
|
|
87
87
|
field :use_oauth_spec_scope, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "useOauthSpecScope"
|
|
88
88
|
|
|
89
|
+
field :client_id, -> { String }, optional: true, nullable: false
|
|
90
|
+
|
|
91
|
+
field :allowed_audiences, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
92
|
+
|
|
89
93
|
field :discovery_url, -> { String }, optional: true, nullable: false
|
|
90
94
|
|
|
91
95
|
field :oidc_metadata, -> { Auth0::Types::ConnectionsOidcMetadata }, optional: true, nullable: false
|
|
@@ -119,6 +119,8 @@ module Auth0
|
|
|
119
119
|
|
|
120
120
|
field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false
|
|
121
121
|
|
|
122
|
+
field :google_account_linking, -> { Auth0::Types::GoogleAccountLinkingConfiguration }, optional: true, nullable: false
|
|
123
|
+
|
|
122
124
|
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
|
|
123
125
|
|
|
124
126
|
field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
|