authlete_ruby_test 0.0.2.pre.beta → 0.0.2.pre.beta.2
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/authlete/clients.rb +156 -0
- data/lib/authlete/models/components/client.rb +6 -2
- data/lib/authlete/models/components/client.rbi +2 -0
- data/lib/authlete/models/components/client_input.rb +102 -98
- data/lib/authlete/models/components/client_input.rbi +2 -0
- data/lib/authlete/models/operations/client_update_api_form_request.rb +41 -0
- data/lib/authlete/models/operations/client_update_api_form_request.rbi +17 -0
- data/lib/authlete/models/operations/client_update_api_form_response.rb +45 -0
- data/lib/authlete/models/operations/client_update_api_form_response.rbi +19 -0
- data/lib/authlete/models/operations/service_configuration_api_response.rb +2 -2
- data/lib/authlete/models/operations.rb +2 -1
- data/lib/authlete/sdkconfiguration.rb +2 -2
- data/lib/authlete/services.rb +1 -1
- metadata +6 -4
- data/lib/authlete/models/operations/service_configuration_api_responsebody.rb +0 -29
- data/lib/authlete/models/operations/service_configuration_api_responsebody.rbi +0 -11
|
@@ -172,6 +172,8 @@ class Authlete::Models::Components::ClientInput
|
|
|
172
172
|
def discovered_by_metadata_document=(str_); end
|
|
173
173
|
def client_source(); end
|
|
174
174
|
def client_source=(str_); end
|
|
175
|
+
def additional_properties(); end
|
|
176
|
+
def additional_properties=(str_); end
|
|
175
177
|
def authorization_sign_alg(); end
|
|
176
178
|
def authorization_sign_alg=(str_); end
|
|
177
179
|
def authorization_encryption_alg(); end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Authlete
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ClientUpdateApiFormRequest
|
|
13
|
+
extend T::Sig
|
|
14
|
+
include Crystalline::MetadataFields
|
|
15
|
+
|
|
16
|
+
# A service ID.
|
|
17
|
+
field :service_id, ::String, { 'path_param': { 'field_name': 'serviceId', 'style': 'simple', 'explode': false } }
|
|
18
|
+
# A client ID.
|
|
19
|
+
field :client_id, ::String, { 'path_param': { 'field_name': 'clientId', 'style': 'simple', 'explode': false } }
|
|
20
|
+
|
|
21
|
+
field :request_body, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'request': { 'media_type': 'application/x-www-form-urlencoded' } }
|
|
22
|
+
|
|
23
|
+
sig { params(service_id: ::String, client_id: ::String, request_body: T.nilable(T::Hash[Symbol, ::Object])).void }
|
|
24
|
+
def initialize(service_id:, client_id:, request_body: nil)
|
|
25
|
+
@service_id = service_id
|
|
26
|
+
@client_id = client_id
|
|
27
|
+
@request_body = request_body
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
31
|
+
def ==(other)
|
|
32
|
+
return false unless other.is_a? self.class
|
|
33
|
+
return false unless @service_id == other.service_id
|
|
34
|
+
return false unless @client_id == other.client_id
|
|
35
|
+
return false unless @request_body == other.request_body
|
|
36
|
+
true
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Authlete::Models::Operations::ClientUpdateApiFormRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Authlete::Models::Operations::ClientUpdateApiFormRequest
|
|
11
|
+
def service_id(); end
|
|
12
|
+
def service_id=(str_); end
|
|
13
|
+
def client_id(); end
|
|
14
|
+
def client_id=(str_); end
|
|
15
|
+
def request_body(); end
|
|
16
|
+
def request_body=(str_); end
|
|
17
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Authlete
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ClientUpdateApiFormResponse
|
|
13
|
+
extend T::Sig
|
|
14
|
+
include Crystalline::MetadataFields
|
|
15
|
+
|
|
16
|
+
# HTTP response content type for this operation
|
|
17
|
+
field :content_type, ::String
|
|
18
|
+
# HTTP response status code for this operation
|
|
19
|
+
field :status_code, ::Integer
|
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
21
|
+
field :raw_response, ::Faraday::Response
|
|
22
|
+
|
|
23
|
+
field :client, Crystalline::Nilable.new(Models::Components::Client)
|
|
24
|
+
|
|
25
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, client: T.nilable(Models::Components::Client)).void }
|
|
26
|
+
def initialize(content_type:, status_code:, raw_response:, client: nil)
|
|
27
|
+
@content_type = content_type
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@raw_response = raw_response
|
|
30
|
+
@client = client
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
34
|
+
def ==(other)
|
|
35
|
+
return false unless other.is_a? self.class
|
|
36
|
+
return false unless @content_type == other.content_type
|
|
37
|
+
return false unless @status_code == other.status_code
|
|
38
|
+
return false unless @raw_response == other.raw_response
|
|
39
|
+
return false unless @client == other.client
|
|
40
|
+
true
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Authlete::Models::Operations::ClientUpdateApiFormResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Authlete::Models::Operations::ClientUpdateApiFormResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def client(); end
|
|
18
|
+
def client=(str_); end
|
|
19
|
+
end
|
|
@@ -20,9 +20,9 @@ module Authlete
|
|
|
20
20
|
# Raw HTTP response; suitable for custom response parsing
|
|
21
21
|
field :raw_response, ::Faraday::Response
|
|
22
22
|
# Service configuration retrieved successfully
|
|
23
|
-
field :object, Crystalline::Nilable.new(
|
|
23
|
+
field :object, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object))
|
|
24
24
|
|
|
25
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(
|
|
25
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(T::Hash[Symbol, ::Object])).void }
|
|
26
26
|
def initialize(content_type:, status_code:, raw_response:, object: nil)
|
|
27
27
|
@content_type = content_type
|
|
28
28
|
@status_code = status_code
|
|
@@ -90,6 +90,8 @@ module Authlete
|
|
|
90
90
|
autoload :ClientSecretRefreshApiResponse, 'authlete/models/operations/client_secret_refresh_api_response.rb'
|
|
91
91
|
autoload :ClientSecretUpdateApiRequest, 'authlete/models/operations/client_secret_update_api_request.rb'
|
|
92
92
|
autoload :ClientSecretUpdateApiResponse, 'authlete/models/operations/client_secret_update_api_response.rb'
|
|
93
|
+
autoload :ClientUpdateApiFormRequest, 'authlete/models/operations/client_update_api_form_request.rb'
|
|
94
|
+
autoload :ClientUpdateApiFormResponse, 'authlete/models/operations/client_update_api_form_response.rb'
|
|
93
95
|
autoload :ClientUpdateApiRequest, 'authlete/models/operations/client_update_api_request.rb'
|
|
94
96
|
autoload :ClientUpdateApiResponse, 'authlete/models/operations/client_update_api_response.rb'
|
|
95
97
|
autoload :DeviceAuthorizationApiRequest, 'authlete/models/operations/device_authorization_api_request.rb'
|
|
@@ -123,7 +125,6 @@ module Authlete
|
|
|
123
125
|
autoload :NativeSsoLogoutApiResponse, 'authlete/models/operations/native_sso_logout_api_response.rb'
|
|
124
126
|
autoload :PushedAuthReqApiRequest, 'authlete/models/operations/pushed_auth_req_api_request.rb'
|
|
125
127
|
autoload :PushedAuthReqApiResponse, 'authlete/models/operations/pushed_auth_req_api_response.rb'
|
|
126
|
-
autoload :ServiceConfigurationApiResponseBody, 'authlete/models/operations/service_configuration_api_responsebody.rb'
|
|
127
128
|
autoload :ServiceConfigurationApiRequest, 'authlete/models/operations/service_configuration_api_request.rb'
|
|
128
129
|
autoload :ServiceConfigurationApiResponse, 'authlete/models/operations/service_configuration_api_response.rb'
|
|
129
130
|
autoload :ServiceCreateApiResponse, 'authlete/models/operations/service_create_api_response.rb'
|
|
@@ -92,9 +92,9 @@ module Authlete
|
|
|
92
92
|
end
|
|
93
93
|
@language = 'ruby'
|
|
94
94
|
@openapi_doc_version = '3.0.16'
|
|
95
|
-
@sdk_version = '0.0.2-beta'
|
|
95
|
+
@sdk_version = '0.0.2-beta.2'
|
|
96
96
|
@gen_version = '2.788.5'
|
|
97
|
-
@user_agent = 'speakeasy-sdk/ruby 0.0.2-beta 2.788.5 3.0.16 authlete_ruby_test'
|
|
97
|
+
@user_agent = 'speakeasy-sdk/ruby 0.0.2-beta.2 2.788.5 3.0.16 authlete_ruby_test'
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/authlete/services.rb
CHANGED
|
@@ -868,7 +868,7 @@ module Authlete
|
|
|
868
868
|
response: http_response
|
|
869
869
|
)
|
|
870
870
|
response_data = http_response.env.response_body
|
|
871
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data),
|
|
871
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Hash.new(Symbol, ::Object))
|
|
872
872
|
response = Models::Operations::ServiceConfigurationApiResponse.new(
|
|
873
873
|
status_code: http_response.status,
|
|
874
874
|
content_type: content_type,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: authlete_ruby_test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.2.pre.beta
|
|
4
|
+
version: 0.0.2.pre.beta.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Authlete, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -800,6 +800,10 @@ files:
|
|
|
800
800
|
- lib/authlete/models/operations/client_secret_update_api_request.rbi
|
|
801
801
|
- lib/authlete/models/operations/client_secret_update_api_response.rb
|
|
802
802
|
- lib/authlete/models/operations/client_secret_update_api_response.rbi
|
|
803
|
+
- lib/authlete/models/operations/client_update_api_form_request.rb
|
|
804
|
+
- lib/authlete/models/operations/client_update_api_form_request.rbi
|
|
805
|
+
- lib/authlete/models/operations/client_update_api_form_response.rb
|
|
806
|
+
- lib/authlete/models/operations/client_update_api_form_response.rbi
|
|
803
807
|
- lib/authlete/models/operations/client_update_api_request.rb
|
|
804
808
|
- lib/authlete/models/operations/client_update_api_request.rbi
|
|
805
809
|
- lib/authlete/models/operations/client_update_api_response.rb
|
|
@@ -870,8 +874,6 @@ files:
|
|
|
870
874
|
- lib/authlete/models/operations/service_configuration_api_request.rbi
|
|
871
875
|
- lib/authlete/models/operations/service_configuration_api_response.rb
|
|
872
876
|
- lib/authlete/models/operations/service_configuration_api_response.rbi
|
|
873
|
-
- lib/authlete/models/operations/service_configuration_api_responsebody.rb
|
|
874
|
-
- lib/authlete/models/operations/service_configuration_api_responsebody.rbi
|
|
875
877
|
- lib/authlete/models/operations/service_create_api_response.rb
|
|
876
878
|
- lib/authlete/models/operations/service_create_api_response.rbi
|
|
877
879
|
- lib/authlete/models/operations/service_delete_api_request.rb
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Authlete
|
|
8
|
-
module Models
|
|
9
|
-
module Operations
|
|
10
|
-
|
|
11
|
-
# An object representing OpenID Provider configuration information. See [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata) and [OpenID Provider Configuration Response](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse) for more details.
|
|
12
|
-
#
|
|
13
|
-
class ServiceConfigurationApiResponseBody
|
|
14
|
-
extend T::Sig
|
|
15
|
-
include Crystalline::MetadataFields
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
def initialize; end
|
|
20
|
-
|
|
21
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
22
|
-
def ==(other)
|
|
23
|
-
return false unless other.is_a? self.class
|
|
24
|
-
true
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Authlete::Models::Operations::ServiceConfigurationApiResponseBody
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Authlete::Models::Operations::ServiceConfigurationApiResponseBody
|
|
11
|
-
end
|