omniauth_cobot 0.0.1 → 0.0.2
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.
- data/README.md +0 -17
- data/lib/omniauth/cobot/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -15,20 +15,3 @@ This gives you access to a variable `request.env['omniauth.auth']` in your authe
|
|
15
15
|
* `uid` - the id of the user
|
16
16
|
* `info` - `{'email' => '<user email>', 'picture' => '<url>'}`
|
17
17
|
* `extra` - `{:raw_info => { "id": "<user id>", "email": "<email>", "picture": "<picture url>", "mac_addresses": ["<mac address>"...], "memberships": [{ "space_link": "<https://www.cobot.me/api/spaces/some-space>", "link": "<https://some-space.cobot.me/api/memberships/some-membership>" } ], "admin_of": [ { "space_link": "<https://www.cobot.me/api/spaces/some-space>", "name": "<admin name>" } ] }`
|
18
|
-
|
19
|
-
|
20
|
-
"user_info"=>{"name"=>"janesmith",
|
21
|
-
"email"=>"janesmith@example.com"},
|
22
|
-
"extra"=>{
|
23
|
-
"user_hash"=>{
|
24
|
-
"login"=>"janesmith",
|
25
|
-
"email"=>"janesmith@example.com",
|
26
|
-
"id"=>"user-janesmith",
|
27
|
-
"memberships"=>[{
|
28
|
-
"link"=>"https://co-up.cobot.me/api/memberships/738...b53",
|
29
|
-
"space_link"=>"https://www.cobot.me/api/spaces/co-up"}],
|
30
|
-
"admin_of"=>[
|
31
|
-
{"space_link"=>"https://www.cobot.me/api/spaces/my_subdomain"},
|
32
|
-
{"space_link"=>"https://www.cobot.me/api/spaces/test2"}]
|
33
|
-
}
|
34
|
-
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth_cobot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth-oauth2
|