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.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +58 -58
- data/lib/login_radius/api/account/account_api.rb +581 -581
- data/lib/login_radius/api/account/role_api.rb +330 -330
- data/lib/login_radius/api/account/sott_api.rb +47 -47
- data/lib/login_radius/api/advanced/configuration_api.rb +57 -57
- data/lib/login_radius/api/advanced/consent_management_api.rb +161 -161
- data/lib/login_radius/api/advanced/custom_object_api.rb +316 -316
- data/lib/login_radius/api/advanced/custom_registration_data_api.rb +195 -195
- data/lib/login_radius/api/advanced/multi_factor_authentication_api.rb +942 -606
- data/lib/login_radius/api/advanced/re_authentication_api.rb +317 -243
- data/lib/login_radius/api/advanced/web_hook_api.rb +101 -101
- data/lib/login_radius/api/authentication/authentication_api.rb +1036 -989
- data/lib/login_radius/api/authentication/one_touch_login_api.rb +160 -160
- data/lib/login_radius/api/authentication/password_less_login_api.rb +202 -158
- data/lib/login_radius/api/authentication/phone_authentication_api.rb +329 -329
- data/lib/login_radius/api/authentication/pin_authentication_api.rb +316 -316
- data/lib/login_radius/api/authentication/risk_based_authentication_api.rb +286 -286
- data/lib/login_radius/api/authentication/smart_login_api.rb +146 -146
- data/lib/login_radius/api/social/native_social_api.rb +255 -255
- data/lib/login_radius/api/social/social_api.rb +784 -806
- data/lib/login_radius/error.rb +7 -7
- data/lib/login_radius/request_client.rb +311 -295
- data/lib/login_radius/response.rb +18 -12
- data/lib/login_radius/version.rb +2 -2
- data/lib/login_radius.rb +30 -30
- data/login_radius.gemspec +25 -28
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9c973849addaa76cb15e113f2d81985dc296e19c05f26dfc917e90cf286200e
|
4
|
+
data.tar.gz: 54474a6b59a316838308cad418414327c7b8cce17ee063eed70478fa77f8ada3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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/).
|