omniauth-campus 0.9.0 → 0.9.1
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: 6ddfe3d20135729832e7cc2dee0e33d4245b057f
|
4
|
+
data.tar.gz: a99cb5d8be6cd389f6cc36d2f21531ce5c128482
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96ccce6d4e2700f40376e988af2d120bf28b978cdf80f8d0851fc7c3b49d9d8cb5cc8f3aeb9c11951ed69d1b526b9e0e90f90e1aa949720b5ff5e9f49ac8b405
|
7
|
+
data.tar.gz: d162172efd2234e981c02700a596cba12131009d68aa1f8a2d8f7a0be027c61104c0b0e976debdfe0e71c2e8fc33ea0b3b7f4af392e609ad1f85528530308677
|
Binary file
|
Binary file
|
@@ -13,33 +13,6 @@ module OmniAuth
|
|
13
13
|
:token_url => '/oauth/access_token'
|
14
14
|
}
|
15
15
|
|
16
|
-
option :provider_ignores_state, true
|
17
|
-
|
18
|
-
option :token_params, {
|
19
|
-
:header_format => 'OAuth oauth_token=%s',
|
20
|
-
:param_name => 'access_token'
|
21
|
-
}
|
22
|
-
|
23
|
-
uid { raw_info['uid'] }
|
24
|
-
|
25
|
-
info do
|
26
|
-
{
|
27
|
-
:id => raw_info['id'],
|
28
|
-
:name => raw_info['name'],
|
29
|
-
:email => raw_info['email'],
|
30
|
-
|
31
|
-
}
|
32
|
-
end
|
33
|
-
|
34
|
-
extra do
|
35
|
-
{ :raw_info => raw_info }
|
36
|
-
end
|
37
|
-
|
38
|
-
#def raw_info
|
39
|
-
# @raw_info ||= MultiJson.load(access_token.get('/users').body)
|
40
|
-
#rescue ::Errno::ETIMEDOUT
|
41
|
-
# raise ::Timeout::Error
|
42
|
-
#end
|
43
16
|
|
44
17
|
end
|
45
18
|
end
|