soteria 1.0.3 → 1.0.4
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/soteria/client.rb +3 -3
- data/lib/soteria/version.rb +1 -1
- data/spec/user_spec.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a55b69bb57ec99d81d6ad6ef62809d503568ea7
|
4
|
+
data.tar.gz: e9d38e9fbb22d91f31d26477480c07bf6d2e6d6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54d1f95d6356864ad142baa479baa0d0b7e9492ca97b05b3a1039668c9a9fd002d1c79d84f9327417d326968f44e31c017586b79ad530d28b017e39f0a3143d
|
7
|
+
data.tar.gz: 4682972c9157e3db79a7de49c444f0421474053ce499ff2354a3bd3c50750fad6ce06deac413a9a9dbe8a19af68cfbcf0e7d40b315b7cf1b1a24f9a535f1b3bc
|
data/lib/soteria/client.rb
CHANGED
@@ -26,13 +26,13 @@ module Soteria
|
|
26
26
|
# @cert_key_password = password
|
27
27
|
|
28
28
|
#[:get_server_time, :get_user_info, :get_credential_info, :get_temporary_password_attributes, :poll_push_status]
|
29
|
-
@query_client = Utilities.create_client('
|
29
|
+
@query_client = Utilities.create_client('http://webdev.cse.msu.edu/~yehanlin/vip/vipuserservices-query-1.7.wsdl', should_log, cert_file, cert_key_file, password)
|
30
30
|
|
31
31
|
#[:authenticate_user, :authenticate_user_with_push, :authenticate_credentials, :evaluate_risk, :confirm_risk, :deny_risk, :check_otp]
|
32
|
-
@auth_client = Utilities.create_client('
|
32
|
+
@auth_client = Utilities.create_client('http://webdev.cse.msu.edu/~yehanlin/vip/vipuserservices-auth-1.7.wsdl', should_log, cert_file, cert_key_file, password)
|
33
33
|
|
34
34
|
#[:create_user, :update_user, :delete_user, :clear_user_pin, :add_credential, :update_credential, :remove_credential, :set_temporary_password, :clear_temporary_password, :set_temporary_password_attributes, :send_otp, :register]
|
35
|
-
@management_client = Utilities.create_client('
|
35
|
+
@management_client = Utilities.create_client('http://webdev.cse.msu.edu/~yehanlin/vip/vipuserservices-mgmt-1.7.wsdl', should_log, cert_file, cert_key_file, password)
|
36
36
|
|
37
37
|
@auth = Auth.new(cert_file, cert_key_file, password, should_log)
|
38
38
|
|
data/lib/soteria/version.rb
CHANGED
data/spec/user_spec.rb
CHANGED
@@ -93,7 +93,6 @@ describe Soteria::User do
|
|
93
93
|
options = {name: 'testCredential', otp: '123456'}
|
94
94
|
result_hash = @user.get_add_credential_message('user1', 'credential', 'STANDARD_OTP', options)
|
95
95
|
|
96
|
-
# TODO: this is a hack until we mock the utilities class to set the request id
|
97
96
|
result_hash[:'vip:requestId'] = nil
|
98
97
|
|
99
98
|
expected_hash = {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soteria
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Casler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|