soar-authentication-identity 0.0.2 → 0.0.3
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/.gemspec +1 -1
- data/README.md +3 -1
- data/lib/soar/authentication/identity/model.rb +4 -0
- data/lib/soar/authentication/identity/provider/staff.rb +4 -0
- data/lib/soar/authentication/identity/provider/stub.rb +4 -0
- data/lib/soar/authentication/identity/test/orchestration_provider/staff.rb +7 -0
- data/lib/soar/authentication/identity/test/orchestration_provider/stub.rb +4 -0
- data/lib/soar/authentication/identity/test/orchestrator.rb +7 -0
- 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: dd63186e2e111e388f77b75ee26c8a6ad7f3ad53
|
4
|
+
data.tar.gz: b4371252fb201b45d1ee376becf04f3b7ee764ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fec6812042d56be91618783df2a0a70443806f7c235541dac6ffa083a305065692126236348df5b91682005f6d3e8efd0f1cd9ab9c64797eb4af17258098888
|
7
|
+
data.tar.gz: 727d9ded2e75656b3decce1c203cfa52201273df265305d9630305e82c7d61deebf2d69c92013ac3ea00175a6c0ea0f0c2a9e22d28e68886dd5ee121bdae45a3
|
data/.gemspec
CHANGED
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Used by authentication service to translate an identity identifier into an UUID
|
|
10
10
|
Example using the factory.
|
11
11
|
```ruby
|
12
12
|
> identity = Soar::Authentication::Identity::Factory.create({
|
13
|
-
authenticated_identifier: '
|
13
|
+
authenticated_identifier: 'test@hetzner.co.za',
|
14
14
|
directory_configurations: {
|
15
15
|
"staff" => {
|
16
16
|
"provider" => 'Soar::Registry::Directory::Provider::Stub',
|
@@ -26,6 +26,8 @@ Example using the factory.
|
|
26
26
|
})
|
27
27
|
> puts identity.uuid
|
28
28
|
"85777bfa-b743-4ba9-8308-e8a1e4d44fbe"
|
29
|
+
> puts identity.role
|
30
|
+
'staff'
|
29
31
|
```
|
30
32
|
|
31
33
|
## Tests
|
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.3
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: soar-registry-identity
|