exvo-auth 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ class ExvoAuth::Autonomous::Consumer < ExvoAuth::Autonomous::Base
|
|
30
30
|
if response["authorization"]
|
31
31
|
@@cache.write(params, response["authorization"])
|
32
32
|
else
|
33
|
-
raise "
|
33
|
+
raise "Authorization not found. You need an auhorization to contact provider app (#{ params[:provider_id] })"
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -37,7 +37,7 @@ module ExvoAuth::Controllers::Base
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def authenticate_app_in_scope!(scope)
|
40
|
-
raise("SSL not configured") unless request.ssl? || ExvoAuth::Config.require_ssl == false
|
40
|
+
raise("SSL not configured. Your api needs to be exposed through https protocol.") unless request.ssl? || ExvoAuth::Config.require_ssl == false
|
41
41
|
|
42
42
|
send(basic_authentication_method_name) do |consumer_id, access_token|
|
43
43
|
current_scopes = ExvoAuth::Autonomous::Provider.new(
|
data/lib/exvo_auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exvo-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 43
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 8
|
10
|
+
version: 0.9.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jacek Becela
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-12 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|