login_radius 11.0.0 → 11.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -21
  3. data/README.md +58 -58
  4. data/lib/login_radius/api/account/account_api.rb +581 -581
  5. data/lib/login_radius/api/account/role_api.rb +330 -330
  6. data/lib/login_radius/api/account/sott_api.rb +47 -47
  7. data/lib/login_radius/api/advanced/configuration_api.rb +57 -57
  8. data/lib/login_radius/api/advanced/consent_management_api.rb +161 -161
  9. data/lib/login_radius/api/advanced/custom_object_api.rb +316 -316
  10. data/lib/login_radius/api/advanced/custom_registration_data_api.rb +195 -195
  11. data/lib/login_radius/api/advanced/multi_factor_authentication_api.rb +942 -606
  12. data/lib/login_radius/api/advanced/re_authentication_api.rb +317 -243
  13. data/lib/login_radius/api/advanced/web_hook_api.rb +101 -101
  14. data/lib/login_radius/api/authentication/authentication_api.rb +1036 -989
  15. data/lib/login_radius/api/authentication/one_touch_login_api.rb +160 -160
  16. data/lib/login_radius/api/authentication/password_less_login_api.rb +202 -158
  17. data/lib/login_radius/api/authentication/phone_authentication_api.rb +329 -329
  18. data/lib/login_radius/api/authentication/pin_authentication_api.rb +316 -316
  19. data/lib/login_radius/api/authentication/risk_based_authentication_api.rb +286 -286
  20. data/lib/login_radius/api/authentication/smart_login_api.rb +146 -146
  21. data/lib/login_radius/api/social/native_social_api.rb +255 -255
  22. data/lib/login_radius/api/social/social_api.rb +784 -806
  23. data/lib/login_radius/error.rb +7 -7
  24. data/lib/login_radius/request_client.rb +311 -295
  25. data/lib/login_radius/response.rb +18 -12
  26. data/lib/login_radius/version.rb +2 -2
  27. data/lib/login_radius.rb +30 -30
  28. data/login_radius.gemspec +25 -28
  29. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d83448656f441be44e6f81c7d37111594e90f1477cdd801f294c1179f2eca1c1
4
- data.tar.gz: f9c2cf95147d247c441d05180efb00a5435433c5ddfa464ccc5382f77f776694
3
+ metadata.gz: f9c973849addaa76cb15e113f2d81985dc296e19c05f26dfc917e90cf286200e
4
+ data.tar.gz: 54474a6b59a316838308cad418414327c7b8cce17ee063eed70478fa77f8ada3
5
5
  SHA512:
6
- metadata.gz: 1491203d9e9b02172bf38234e3d527a1de96b9186811997ef5f0fcb132e9abe736538a14bb17421aedfb814b01c6c44e31761e0e6360a67580dbc327caf68813
7
- data.tar.gz: 988dee1abbf3473b9f1847a844d37f51e3fd50dda6eea3a0d10ce2d05220694e8de210e6a15ebccf763439bb27745a781253c6c7227fdd7b461f5fc3bbc2b9dd
6
+ metadata.gz: 1bd4f92b33533dcfa07a5dd9200dc8f34ec71bfe92be8056559740198a063ad19c5bd6475987f68beee27d88556154ff5f3f0741511767c6dc74b242a1553d57
7
+ data.tar.gz: 4413856fd170082bacf822a20d185d6411c7cc64ee841c4610c04b89543624bb48581977d795bf425de8b1b02d37dcf251533e105c8977c5c9982879fe63fda9
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,58 +1,58 @@
1
- ## Installation
2
-
3
- Install the SDK by adding LoginRadius to your application's `Gemfile`.
4
-
5
- ```
6
- gem 'login_radius', '~> 11.0'
7
- ```
8
-
9
- Then, run `$ bundle`. A copy of the SDK can also be found on our [Github](https://github.com/LoginRadius/ruby-on-rails-gem/tree/master).
10
-
11
- ## Quickstart Guide
12
-
13
- 1)Before using any of the functions available in the library, its corresponding module must first define the global constant in `config/application.yml`:
14
-
15
- ```
16
- SITE_NAME: "<site name>"
17
- API_KEY: "<api-key>"
18
- API_SECRET: "<api-secret>"
19
- CUSTOM_API_DOMAIN: "<custom-domain-url-if-any>"
20
- API_REQUEST_SIGNING: "false"
21
- ```
22
-
23
- 2)After define the configuration key details, its corresponding module must first be instantiated:
24
-
25
- Create `login_radius.rb` in `/config/initializers`:
26
-
27
-
28
-
29
- ```
30
- require 'login_radius'
31
-
32
- ::AccountApi = LoginRadius::AccountApi.new
33
- ::RoleApi = LoginRadius::RoleApi.new
34
- ::SottApi = LoginRadius::SottApi.new
35
-
36
- ::ConfigurationApi = LoginRadius::ConfigurationApi.new
37
- ::ConsentManagementApi = LoginRadius::ConsentManagementApi.new
38
- ::CustomObjectApi = LoginRadius::CustomObjectApi.new
39
- ::CustomRegistrationDataApi = LoginRadius::CustomRegistrationDataApi.new
40
- ::MultiFactorAuthenticationApi = LoginRadius::MultiFactorAuthenticationApi.new
41
- ::ReAuthenticationApi = LoginRadius::ReAuthenticationApi.new
42
- ::WebHookApi = LoginRadius::WebHookApi.new
43
-
44
- ::AuthenticationApi = LoginRadius::AuthenticationApi.new
45
- ::OneTouchLoginApi = LoginRadius::OneTouchLoginApi.new
46
- ::PasswordLessLoginApi = LoginRadius::PasswordLessLoginApi.new
47
- ::PhoneAuthenticationApi = LoginRadius::PhoneAuthenticationApi.new
48
- ::PINAuthenticationApi = LoginRadius::PINAuthenticationApi.new
49
- ::RiskBasedAuthenticationApi = LoginRadius::RiskBasedAuthenticationApi.new
50
- ::SmartLoginApi = LoginRadius::SmartLoginApi.new
51
-
52
- ::NativeSocialApi = LoginRadius::NativeSocialApi.new
53
- ::SocialApi = LoginRadius::SocialApi.new
54
- ```
55
-
56
- Please note that you only have to initiate modules you need.
57
-
58
- The API key and secret can be obtained from the LoginRadius Admin Console. Details on retrieving your key and secret can be found [here](loginradius.com/docs/api/v2/admin-console/platform-security/api-key-and-secret/).
1
+ ## Installation
2
+
3
+ Install the SDK by adding LoginRadius to your application's `Gemfile`.
4
+
5
+ ```
6
+ gem 'login_radius', '~> 11.2.2'
7
+ ```
8
+
9
+ Then, run `$ bundle`. A copy of the SDK can also be found on our [Github](https://github.com/LoginRadius/ruby-on-rails-gem/tree/master).
10
+
11
+ ## Quickstart Guide
12
+
13
+ 1)Before using any of the functions available in the library, its corresponding module must first define the global constant in `config/application.yml`:
14
+
15
+ ```
16
+ SITE_NAME: "<site name>"
17
+ API_KEY: "<api-key>"
18
+ API_SECRET: "<api-secret>"
19
+ CUSTOM_API_DOMAIN: "<custom-domain-url-if-any>"
20
+ API_REQUEST_SIGNING: "false"
21
+ ```
22
+
23
+ 2)After define the configuration key details, its corresponding module must first be instantiated:
24
+
25
+ Create `login_radius.rb` in `/config/initializers`:
26
+
27
+
28
+
29
+ ```
30
+ require 'login_radius'
31
+
32
+ ::AccountApi = LoginRadius::AccountApi.new
33
+ ::RoleApi = LoginRadius::RoleApi.new
34
+ ::SottApi = LoginRadius::SottApi.new
35
+
36
+ ::ConfigurationApi = LoginRadius::ConfigurationApi.new
37
+ ::ConsentManagementApi = LoginRadius::ConsentManagementApi.new
38
+ ::CustomObjectApi = LoginRadius::CustomObjectApi.new
39
+ ::CustomRegistrationDataApi = LoginRadius::CustomRegistrationDataApi.new
40
+ ::MultiFactorAuthenticationApi = LoginRadius::MultiFactorAuthenticationApi.new
41
+ ::ReAuthenticationApi = LoginRadius::ReAuthenticationApi.new
42
+ ::WebHookApi = LoginRadius::WebHookApi.new
43
+
44
+ ::AuthenticationApi = LoginRadius::AuthenticationApi.new
45
+ ::OneTouchLoginApi = LoginRadius::OneTouchLoginApi.new
46
+ ::PasswordLessLoginApi = LoginRadius::PasswordLessLoginApi.new
47
+ ::PhoneAuthenticationApi = LoginRadius::PhoneAuthenticationApi.new
48
+ ::PINAuthenticationApi = LoginRadius::PINAuthenticationApi.new
49
+ ::RiskBasedAuthenticationApi = LoginRadius::RiskBasedAuthenticationApi.new
50
+ ::SmartLoginApi = LoginRadius::SmartLoginApi.new
51
+
52
+ ::NativeSocialApi = LoginRadius::NativeSocialApi.new
53
+ ::SocialApi = LoginRadius::SocialApi.new
54
+ ```
55
+
56
+ Please note that you only have to initiate modules you need.
57
+
58
+ The API key and secret can be obtained from the LoginRadius Admin Console. Details on retrieving your key and secret can be found [here](loginradius.com/docs/api/v2/admin-console/platform-security/api-key-and-secret/).