authress-sdk 0.1.20.0 → 1.0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +36 -32
- data/lib/authress_sdk.rb +18 -0
- data/lib/{swagger_client → authress_sdk}/api/access_records_api.rb +73 -80
- data/lib/{swagger_client → authress_sdk}/api/accounts_api.rb +31 -38
- data/lib/{swagger_client → authress_sdk}/api/metadata_api.rb +23 -30
- data/lib/{swagger_client → authress_sdk}/api/resource_permissions_api.rb +33 -40
- data/lib/{swagger_client → authress_sdk}/api/roles_api.rb +36 -43
- data/lib/{swagger_client → authress_sdk}/api/service_clients_api.rb +56 -63
- data/lib/{swagger_client → authress_sdk}/api/user_permissions_api.rb +44 -51
- data/lib/authress_sdk/api_error.rb +50 -0
- data/lib/{swagger_client/api_client.rb → authress_sdk/authress_client.rb} +36 -110
- data/lib/authress_sdk/constant_token_provider.rb +19 -0
- data/lib/{swagger_client → authress_sdk}/models/access_record.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/access_record_collection.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/access_record_collection_records.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/account.rb +4 -11
- data/lib/{swagger_client/models/inline_response_200_11.rb → authress_sdk/models/account_collection.rb} +5 -12
- data/lib/{swagger_client → authress_sdk}/models/account_collection_accounts.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_1.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_10.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_11.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_2.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_3.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_4.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_5.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_6.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_7.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_8.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/body_9.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/claim_request.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/claim_response.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/client.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/client_access_key.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/client_collection.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/client_collection_clients.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/identity.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/identity_collection.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/identity_collection_identities.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/identity_request.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_1.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_10.rb +4 -11
- data/lib/{swagger_client/models/account_collection.rb → authress_sdk/models/inline_response_200_11.rb} +5 -12
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_12.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_13.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_14.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_15.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_2.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_3.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_4.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_5.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_6.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_7.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_8.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/inline_response_200_9.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/invite.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/link.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/metadata_object.rb +4 -11
- data/lib/{swagger_client/models/v1roles_permissions.rb → authress_sdk/models/permission_object.rb} +5 -12
- data/lib/{swagger_client → authress_sdk}/models/permission_response.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/resource_permission.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/resource_permission_collection.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/resource_permission_collection_links.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/resource_permission_collection_links_next.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/resource_permission_collection_resources.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/resource_users_collection.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/role.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/statement.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/token_request.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/user.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/user_resources.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/user_resources_resources.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/user_token.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/user_token_links.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/user_token_links_self.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1clients_options.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1records_account.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1records_links.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1records_links_self.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1records_users.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1resourcesresource_uri_permissions.rb +4 -11
- data/lib/{swagger_client/models/permission_object.rb → authress_sdk/models/v1roles_permissions.rb} +5 -12
- data/lib/{swagger_client → authress_sdk}/models/v1usersuser_idresourcesresource_urimetadata_account.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1usersuser_idtokens_resources.rb +4 -11
- data/lib/{swagger_client → authress_sdk}/models/v1usersuser_idtokens_statements.rb +4 -11
- data/lib/authress_sdk/service_client_token_provider.rb +18 -0
- metadata +87 -87
- data/lib/swagger_client.rb +0 -30
- data/lib/swagger_client/api_error.rb +0 -57
- data/lib/swagger_client/configuration.rb +0 -205
- data/lib/swagger_client/version.rb +0 -14
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
class InlineResponse20012
|
16
9
|
attr_accessor :identities
|
17
10
|
|
@@ -39,13 +32,13 @@ module SwaggerClient
|
|
39
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
40
33
|
def initialize(attributes = {})
|
41
34
|
if (!attributes.is_a?(Hash))
|
42
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
35
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse20012` initialize method"
|
43
36
|
end
|
44
37
|
|
45
38
|
# check to see if the attribute exists and convert string to symbol for hash key
|
46
39
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
47
40
|
if (!self.class.attribute_map.key?(k.to_sym))
|
48
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
41
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse20012`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
49
42
|
end
|
50
43
|
h[k.to_sym] = v
|
51
44
|
}
|
@@ -161,7 +154,7 @@ module SwaggerClient
|
|
161
154
|
end
|
162
155
|
end
|
163
156
|
else # model
|
164
|
-
|
157
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
165
158
|
end
|
166
159
|
end
|
167
160
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# The collection of a list of clients
|
16
9
|
class InlineResponse20013
|
17
10
|
# A list of clients
|
@@ -45,13 +38,13 @@ module SwaggerClient
|
|
45
38
|
# @param [Hash] attributes Model attributes in the form of hash
|
46
39
|
def initialize(attributes = {})
|
47
40
|
if (!attributes.is_a?(Hash))
|
48
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
41
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse20013` initialize method"
|
49
42
|
end
|
50
43
|
|
51
44
|
# check to see if the attribute exists and convert string to symbol for hash key
|
52
45
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
53
46
|
if (!self.class.attribute_map.key?(k.to_sym))
|
54
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
47
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse20013`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
55
48
|
end
|
56
49
|
h[k.to_sym] = v
|
57
50
|
}
|
@@ -177,7 +170,7 @@ module SwaggerClient
|
|
177
170
|
end
|
178
171
|
end
|
179
172
|
else # model
|
180
|
-
|
173
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
181
174
|
end
|
182
175
|
end
|
183
176
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# A client configuration.
|
16
9
|
class InlineResponse20014
|
17
10
|
# The unique id of the client.
|
@@ -54,13 +47,13 @@ module SwaggerClient
|
|
54
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
48
|
def initialize(attributes = {})
|
56
49
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse20014` initialize method"
|
58
51
|
end
|
59
52
|
|
60
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse20014`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
57
|
end
|
65
58
|
h[k.to_sym] = v
|
66
59
|
}
|
@@ -194,7 +187,7 @@ module SwaggerClient
|
|
194
187
|
end
|
195
188
|
end
|
196
189
|
else # model
|
197
|
-
|
190
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
198
191
|
end
|
199
192
|
end
|
200
193
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# A client configuration.
|
16
9
|
class InlineResponse20015
|
17
10
|
# The unique id of the client.
|
@@ -55,13 +48,13 @@ module SwaggerClient
|
|
55
48
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
49
|
def initialize(attributes = {})
|
57
50
|
if (!attributes.is_a?(Hash))
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse20015` initialize method"
|
59
52
|
end
|
60
53
|
|
61
54
|
# check to see if the attribute exists and convert string to symbol for hash key
|
62
55
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
63
56
|
if (!self.class.attribute_map.key?(k.to_sym))
|
64
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse20015`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
65
58
|
end
|
66
59
|
h[k.to_sym] = v
|
67
60
|
}
|
@@ -190,7 +183,7 @@ module SwaggerClient
|
|
190
183
|
end
|
191
184
|
end
|
192
185
|
else # model
|
193
|
-
|
186
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
194
187
|
end
|
195
188
|
end
|
196
189
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# A collect of permissions that the user has to a resource.
|
16
9
|
class InlineResponse2002
|
17
10
|
attr_accessor :account
|
@@ -49,13 +42,13 @@ module SwaggerClient
|
|
49
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
50
43
|
def initialize(attributes = {})
|
51
44
|
if (!attributes.is_a?(Hash))
|
52
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
45
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse2002` initialize method"
|
53
46
|
end
|
54
47
|
|
55
48
|
# check to see if the attribute exists and convert string to symbol for hash key
|
56
49
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
57
50
|
if (!self.class.attribute_map.key?(k.to_sym))
|
58
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
51
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse2002`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
59
52
|
end
|
60
53
|
h[k.to_sym] = v
|
61
54
|
}
|
@@ -186,7 +179,7 @@ module SwaggerClient
|
|
186
179
|
end
|
187
180
|
end
|
188
181
|
else # model
|
189
|
-
|
182
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
190
183
|
end
|
191
184
|
end
|
192
185
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# A JWT token with represents the user.
|
16
9
|
class InlineResponse2003
|
17
10
|
attr_accessor :account
|
@@ -58,13 +51,13 @@ module SwaggerClient
|
|
58
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
59
52
|
def initialize(attributes = {})
|
60
53
|
if (!attributes.is_a?(Hash))
|
61
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse2003` initialize method"
|
62
55
|
end
|
63
56
|
|
64
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
65
58
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
66
59
|
if (!self.class.attribute_map.key?(k.to_sym))
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse2003`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
68
61
|
end
|
69
62
|
h[k.to_sym] = v
|
70
63
|
}
|
@@ -208,7 +201,7 @@ module SwaggerClient
|
|
208
201
|
end
|
209
202
|
end
|
210
203
|
else # model
|
211
|
-
|
204
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
212
205
|
end
|
213
206
|
end
|
214
207
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# A collection of resource permissions that have been defined.
|
16
9
|
class InlineResponse2004
|
17
10
|
attr_accessor :resources
|
@@ -44,13 +37,13 @@ module SwaggerClient
|
|
44
37
|
# @param [Hash] attributes Model attributes in the form of hash
|
45
38
|
def initialize(attributes = {})
|
46
39
|
if (!attributes.is_a?(Hash))
|
47
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
40
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse2004` initialize method"
|
48
41
|
end
|
49
42
|
|
50
43
|
# check to see if the attribute exists and convert string to symbol for hash key
|
51
44
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
52
45
|
if (!self.class.attribute_map.key?(k.to_sym))
|
53
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
46
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse2004`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
54
47
|
end
|
55
48
|
h[k.to_sym] = v
|
56
49
|
}
|
@@ -176,7 +169,7 @@ module SwaggerClient
|
|
176
169
|
end
|
177
170
|
end
|
178
171
|
else # model
|
179
|
-
|
172
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
180
173
|
end
|
181
174
|
end
|
182
175
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
class InlineResponse2005
|
16
9
|
attr_accessor :permissions
|
17
10
|
|
@@ -39,13 +32,13 @@ module SwaggerClient
|
|
39
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
40
33
|
def initialize(attributes = {})
|
41
34
|
if (!attributes.is_a?(Hash))
|
42
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
35
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse2005` initialize method"
|
43
36
|
end
|
44
37
|
|
45
38
|
# check to see if the attribute exists and convert string to symbol for hash key
|
46
39
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
47
40
|
if (!self.class.attribute_map.key?(k.to_sym))
|
48
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
41
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse2005`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
49
42
|
end
|
50
43
|
h[k.to_sym] = v
|
51
44
|
}
|
@@ -161,7 +154,7 @@ module SwaggerClient
|
|
161
154
|
end
|
162
155
|
end
|
163
156
|
else # model
|
164
|
-
|
157
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
165
158
|
end
|
166
159
|
end
|
167
160
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# A collection of users with explicit permission to a resource.
|
16
9
|
class InlineResponse2006
|
17
10
|
# A list of users
|
@@ -45,13 +38,13 @@ module SwaggerClient
|
|
45
38
|
# @param [Hash] attributes Model attributes in the form of hash
|
46
39
|
def initialize(attributes = {})
|
47
40
|
if (!attributes.is_a?(Hash))
|
48
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
41
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse2006` initialize method"
|
49
42
|
end
|
50
43
|
|
51
44
|
# check to see if the attribute exists and convert string to symbol for hash key
|
52
45
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
53
46
|
if (!self.class.attribute_map.key?(k.to_sym))
|
54
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
47
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse2006`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
55
48
|
end
|
56
49
|
h[k.to_sym] = v
|
57
50
|
}
|
@@ -177,7 +170,7 @@ module SwaggerClient
|
|
177
170
|
end
|
178
171
|
end
|
179
172
|
else # model
|
180
|
-
|
173
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
181
174
|
end
|
182
175
|
end
|
183
176
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# A collection of access records
|
16
9
|
class InlineResponse2007
|
17
10
|
# A list of access records
|
@@ -45,13 +38,13 @@ module SwaggerClient
|
|
45
38
|
# @param [Hash] attributes Model attributes in the form of hash
|
46
39
|
def initialize(attributes = {})
|
47
40
|
if (!attributes.is_a?(Hash))
|
48
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
41
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse2007` initialize method"
|
49
42
|
end
|
50
43
|
|
51
44
|
# check to see if the attribute exists and convert string to symbol for hash key
|
52
45
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
53
46
|
if (!self.class.attribute_map.key?(k.to_sym))
|
54
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
47
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse2007`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
55
48
|
end
|
56
49
|
h[k.to_sym] = v
|
57
50
|
}
|
@@ -177,7 +170,7 @@ module SwaggerClient
|
|
177
170
|
end
|
178
171
|
end
|
179
172
|
else # model
|
180
|
-
|
173
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
181
174
|
end
|
182
175
|
end
|
183
176
|
|
@@ -1,17 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#Authress
|
3
2
|
|
4
|
-
#<p> <h2>Authorization</h2> <p>Authorization for Authress is handled one of two different ways. Both mechanisms use oauth2 <i>Bearer</i> tokens.</p> <br> <h4>Identity Provider JWT</h4> <p>Hook up your preferred identity provider directly to Authress. Authress will verify JWTs sourced from that identify provider and allow direct integration with these APIs. Any OIDC JWT provider works, Google, Auth0, Okta, etc... With this mechanism your web app can make direct calls to the permissions API on behalf of your users. <br> <a href=\"https://authress.io/app/#/manage?focus=identity\">Link identity provider</a> </p> <br> <h4>Authress Clients</h4> <p>Regardless of using direct identity provider integration, with the API you can create Authress clients which can call any of the methods on the API. Your users won't be able to directly make API calls, all web app integrations must go through a service which stores the Authress private key. <br> <a href=\"https://authress.io/app/#/manage?focus=clients\">Create Authress service client</a> </p> <br> <h2>Usage</h2> <h4>Billable APIs</h4> <p>Most of the api available is completely free. Use it to populate your roles and configure your account. You'll only be charged for the ones marked as Billable.</p> <p><ul> <li><i class=\"far fa-fw fa-money-bill-alt text-primary\"></i> <span class=\"text-primary\">Billable</span> - <small>These APIs count as calls for your account and will be charged.</small></li> <li><i class=\"fas fa-fw fa-angle-double-right text-secondary\"></i> <span class=\"text-secondary\">Free</span> - <small>These are totally free.</small></li> <li><i class=\"fas fa-fw fa-balance-scale text-secondary\"></i> <span class=\"text-secondary\">Condition</span> - <small>Are conditionally free, see api methods for details.</small></li> </ul></p> <br> <h4>API Access</h4> <p>Access to the following APIs is based on Authress permissions, not the application permissions assigned in Authress to the application services. Each resource is tagged with the required permission <span class=\"badge badge-outline-secondary\">Action: Resource</span> </p>
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
Contact: support@authress.io
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.23
|
10
3
|
=end
|
11
4
|
|
12
5
|
require 'date'
|
13
6
|
|
14
|
-
module
|
7
|
+
module AuthressSdk
|
15
8
|
# The access record which links users to roles.
|
16
9
|
class InlineResponse2008
|
17
10
|
# Unique identifier for the record, can be specified on record creation.
|
@@ -101,13 +94,13 @@ module SwaggerClient
|
|
101
94
|
# @param [Hash] attributes Model attributes in the form of hash
|
102
95
|
def initialize(attributes = {})
|
103
96
|
if (!attributes.is_a?(Hash))
|
104
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
97
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AuthressSdk::InlineResponse2008` initialize method"
|
105
98
|
end
|
106
99
|
|
107
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
108
101
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
109
102
|
if (!self.class.attribute_map.key?(k.to_sym))
|
110
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
103
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AuthressSdk::InlineResponse2008`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
111
104
|
end
|
112
105
|
h[k.to_sym] = v
|
113
106
|
}
|
@@ -299,7 +292,7 @@ module SwaggerClient
|
|
299
292
|
end
|
300
293
|
end
|
301
294
|
else # model
|
302
|
-
|
295
|
+
AuthressSdk.const_get(type).build_from_hash(value)
|
303
296
|
end
|
304
297
|
end
|
305
298
|
|