soar-authentication-identity 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d09d351f81f95fcf888670bb84a842c5f8b50a11
|
4
|
+
data.tar.gz: 51f85731282feaa517637f3682bdbc45cf4f04b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 043a70f535c62f941bc8f99ce504fb73a90b782d50db798c04449b9ad988a0094a0e0bf14869162fd49ce23f67844ef8c6e0dc9281c42c08c8122f1a7e74ec2e
|
7
|
+
data.tar.gz: ce26f4e84c8a95113106a2a76dedbb98ee023dd595b20adea3b8e0fa47f8571503f4645ed82be474d4f65efc5f979b273bd44f8ef88366bd1cf60fc6331e6aca
|
data/.gemspec
CHANGED
data/README.md
CHANGED
@@ -13,7 +13,7 @@ Example using the factory.
|
|
13
13
|
authenticated_identifier: 'test@hetzner.co.za',
|
14
14
|
directory_configurations: {
|
15
15
|
"staff" => {
|
16
|
-
"
|
16
|
+
"class" => 'Soar::Registry::Directory::Provider::Stub',
|
17
17
|
"config" => {
|
18
18
|
"table" => "identity",
|
19
19
|
"primary_key" =>"uuid",
|
@@ -27,7 +27,7 @@ module Soar
|
|
27
27
|
# @raise [KeyError] if config is missing provider and config keys
|
28
28
|
##
|
29
29
|
def self.get_directory(config)
|
30
|
-
provider_class = Object.const_get(config.fetch('
|
30
|
+
provider_class = Object.const_get(config.fetch('class'))
|
31
31
|
provider = provider_class.new(config.fetch('config').symbolize_keys)
|
32
32
|
Soar::Registry::Directory.new(provider)
|
33
33
|
end
|
@@ -17,7 +17,7 @@ module Soar
|
|
17
17
|
authenticated_identifier: @entry["email"],
|
18
18
|
directory_configurations: {
|
19
19
|
"staff" => {
|
20
|
-
"
|
20
|
+
"class" => 'Soar::Registry::Directory::Provider::Stub',
|
21
21
|
"config" => {
|
22
22
|
"table" => "identity",
|
23
23
|
"primary_key" =>"uuid",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar-authentication-identity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Mulder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: soar-registry-identity
|