soar_am 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soar_am/version.rb +1 -1
- data/lib/soar_am.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ec494640dbe2419eeedce08e0accdf0b0e79c9b
|
4
|
+
data.tar.gz: fca324cb42f2b78f63d96a46bd9e26849fe1ac18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d73ace49e1961000e3784a8e402a370809ad4043ef58a429062484757f55799c644c879ee6cddac2e908358b6bb393154f6975af8448272c8126e9f017010f5c
|
7
|
+
data.tar.gz: 1c5be71624712e7805e280ae2225cc059919bceb0422e637f682afdded437d9a45832b46950d9a4ce1b9f159ea8183a3eb287c67e480f3387a2f654f0183d2ea
|
data/lib/soar_am/version.rb
CHANGED
data/lib/soar_am.rb
CHANGED
@@ -4,7 +4,7 @@ require "soar_authentication"
|
|
4
4
|
module SoarAm
|
5
5
|
class AmApi
|
6
6
|
def authorized?(service_identifier, resource_identifier, request)
|
7
|
-
authentication = SoarAuthentication.new(request)
|
7
|
+
authentication = SoarAuthentication::Authentication.new(request)
|
8
8
|
return false if not authentication.authenticated?
|
9
9
|
|
10
10
|
authorize(service_identifier, resource_identifier, authentication.identifier, request.params)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_am
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernst Van Graan
|
@@ -119,8 +119,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
122
|
+
rubygems_version: 2.4.8
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Access Manager API for the SOAR architecture
|
126
126
|
test_files: []
|
127
|
+
has_rdoc:
|