omniauth-globus 0.8.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 +7 -0
- data/.gitignore +50 -0
- data/.rubocop.yml +209 -0
- data/.travis.yml +16 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +98 -0
- data/LICENSE +21 -0
- data/README.md +3 -0
- data/lib/omniauth/globus/version.rb +7 -0
- data/lib/omniauth/globus.rb +3 -0
- data/lib/omniauth/strategies/globus.rb +154 -0
- data/lib/omniauth-globus.rb +1 -0
- data/omniauth-globus.gemspec +35 -0
- data/spec/fixtures/access_token.json +9 -0
- data/spec/fixtures/request_info.json +213 -0
- data/spec/omniauth/strategies/globus_spec.rb +514 -0
- data/spec/rubocop_spec.rb +9 -0
- data/spec/spec_helper.rb +25 -0
- metadata +213 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": {
|
|
3
|
+
"credit-name": {
|
|
4
|
+
"value": "Martin Fenner"
|
|
5
|
+
},
|
|
6
|
+
"family-name": {
|
|
7
|
+
"value": "Fenner"
|
|
8
|
+
},
|
|
9
|
+
"last-modified-date": {
|
|
10
|
+
"value": 1500190904445
|
|
11
|
+
},
|
|
12
|
+
"created-date": {
|
|
13
|
+
"value": 1460669194723
|
|
14
|
+
},
|
|
15
|
+
"visibility": "PUBLIC",
|
|
16
|
+
"source": null,
|
|
17
|
+
"given-names": {
|
|
18
|
+
"value": "Martin"
|
|
19
|
+
},
|
|
20
|
+
"path": "0000-0001-6528-2027"
|
|
21
|
+
},
|
|
22
|
+
"last-modified-date": {
|
|
23
|
+
"value": 1500192622273
|
|
24
|
+
},
|
|
25
|
+
"researcher-urls": {
|
|
26
|
+
"researcher-url": [
|
|
27
|
+
{
|
|
28
|
+
"put-code": 42818,
|
|
29
|
+
"last-modified-date": {
|
|
30
|
+
"value": 1500192382862
|
|
31
|
+
},
|
|
32
|
+
"url": {
|
|
33
|
+
"value": "http://blog.martinfenner.org"
|
|
34
|
+
},
|
|
35
|
+
"created-date": {
|
|
36
|
+
"value": 1500192382862
|
|
37
|
+
},
|
|
38
|
+
"visibility": "PUBLIC",
|
|
39
|
+
"source": {
|
|
40
|
+
"source-orcid": {
|
|
41
|
+
"path": "0000-0001-6528-2027",
|
|
42
|
+
"host": "sandbox.orcid.org",
|
|
43
|
+
"uri": "http://sandbox.orcid.org/0000-0001-6528-2027"
|
|
44
|
+
},
|
|
45
|
+
"source-name": {
|
|
46
|
+
"value": "Martin Fenner"
|
|
47
|
+
},
|
|
48
|
+
"source-client-id": null
|
|
49
|
+
},
|
|
50
|
+
"display-index": 1,
|
|
51
|
+
"path": "/0000-0001-6528-2027/researcher-urls/42818",
|
|
52
|
+
"url-name": "Blog"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"path": "/0000-0001-6528-2027/researcher-urls",
|
|
56
|
+
"last-modified-date": {
|
|
57
|
+
"value": 1500192382862
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"other-names": {
|
|
61
|
+
"other-name": [
|
|
62
|
+
{
|
|
63
|
+
"put-code": 16403,
|
|
64
|
+
"last-modified-date": {
|
|
65
|
+
"value": 1500191301536
|
|
66
|
+
},
|
|
67
|
+
"created-date": {
|
|
68
|
+
"value": 1500191301534
|
|
69
|
+
},
|
|
70
|
+
"visibility": "PUBLIC",
|
|
71
|
+
"content": "Martin Hellmut Fenner",
|
|
72
|
+
"source": {
|
|
73
|
+
"source-orcid": {
|
|
74
|
+
"path": "0000-0001-6528-2027",
|
|
75
|
+
"host": "sandbox.orcid.org",
|
|
76
|
+
"uri": "http://sandbox.orcid.org/0000-0001-6528-2027"
|
|
77
|
+
},
|
|
78
|
+
"source-name": {
|
|
79
|
+
"value": "Martin Fenner"
|
|
80
|
+
},
|
|
81
|
+
"source-client-id": null
|
|
82
|
+
},
|
|
83
|
+
"display-index": 1,
|
|
84
|
+
"path": "/0000-0001-6528-2027/other-names/16403"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"path": "/0000-0001-6528-2027/other-names",
|
|
88
|
+
"last-modified-date": {
|
|
89
|
+
"value": 1500191301536
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"keywords": {
|
|
93
|
+
"path": "/0000-0001-6528-2027/keywords",
|
|
94
|
+
"keyword": [],
|
|
95
|
+
"last-modified-date": null
|
|
96
|
+
},
|
|
97
|
+
"path": "/0000-0001-6528-2027/person",
|
|
98
|
+
"external-identifiers": {
|
|
99
|
+
"path": "/0000-0001-6528-2027/external-identifiers",
|
|
100
|
+
"external-identifier": [
|
|
101
|
+
{
|
|
102
|
+
"external-id-value": "mfenner",
|
|
103
|
+
"put-code": 3882,
|
|
104
|
+
"last-modified-date": {
|
|
105
|
+
"value": 1499800792190
|
|
106
|
+
},
|
|
107
|
+
"external-id-relationship": "SELF",
|
|
108
|
+
"created-date": {
|
|
109
|
+
"value": 1499800792189
|
|
110
|
+
},
|
|
111
|
+
"external-id-type": "GitHub",
|
|
112
|
+
"source": {
|
|
113
|
+
"source-orcid": null,
|
|
114
|
+
"source-name": {
|
|
115
|
+
"value": "DataCite/ORCID Claim Tool"
|
|
116
|
+
},
|
|
117
|
+
"source-client-id": {
|
|
118
|
+
"path": "APP-127VAQ5PMV9OKM9F",
|
|
119
|
+
"host": "sandbox.orcid.org",
|
|
120
|
+
"uri": "http://sandbox.orcid.org/client/APP-127VAQ5PMV9OKM9F"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"visibility": "PUBLIC",
|
|
124
|
+
"display-index": 0,
|
|
125
|
+
"path": "/0000-0001-6528-2027/external-identifiers/3882",
|
|
126
|
+
"external-id-url": {
|
|
127
|
+
"value": "https://github.com/mfenner"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"last-modified-date": {
|
|
132
|
+
"value": 1499800792190
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"emails": {
|
|
136
|
+
"path": "/0000-0001-6528-2027/email",
|
|
137
|
+
"email": [
|
|
138
|
+
{
|
|
139
|
+
"put-code": null,
|
|
140
|
+
"verified": true,
|
|
141
|
+
"last-modified-date": {
|
|
142
|
+
"value": 1438058214424
|
|
143
|
+
},
|
|
144
|
+
"created-date": {
|
|
145
|
+
"value": 1438058214424
|
|
146
|
+
},
|
|
147
|
+
"visibility": "LIMITED",
|
|
148
|
+
"primary": true,
|
|
149
|
+
"source": {
|
|
150
|
+
"source-orcid": {
|
|
151
|
+
"path": "0000-0001-6528-2027",
|
|
152
|
+
"host": "sandbox.orcid.org",
|
|
153
|
+
"uri": "http://sandbox.orcid.org/0000-0001-6528-2027"
|
|
154
|
+
},
|
|
155
|
+
"source-name": {
|
|
156
|
+
"value": "Martin Fenner"
|
|
157
|
+
},
|
|
158
|
+
"source-client-id": null
|
|
159
|
+
},
|
|
160
|
+
"path": null,
|
|
161
|
+
"email": "martin.fenner@datacite.org"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"last-modified-date": {
|
|
165
|
+
"value": 1438058214424
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"biography": {
|
|
169
|
+
"content": "Martin Fenner is the DataCite Technical Director and manages the technical architecture for Datacite as well as DataCite\u2019s technical contributions for the EU-funded THOR project. From 2012 to 2015 he was the technical lead for the PLOS Article-Level Metrics project. Martin has a medical degree from the Free University of Berlin and is a Board-certified medical oncologist.",
|
|
170
|
+
"path": "/0000-0001-6528-2027/biography",
|
|
171
|
+
"created-date": {
|
|
172
|
+
"value": 1460669194724
|
|
173
|
+
},
|
|
174
|
+
"visibility": "PUBLIC",
|
|
175
|
+
"last-modified-date": {
|
|
176
|
+
"value": 1500206408067
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"addresses": {
|
|
180
|
+
"path": "/0000-0001-6528-2027/address",
|
|
181
|
+
"address": [
|
|
182
|
+
{
|
|
183
|
+
"put-code": 4809,
|
|
184
|
+
"last-modified-date": {
|
|
185
|
+
"value": 1500192622273
|
|
186
|
+
},
|
|
187
|
+
"country": {
|
|
188
|
+
"value": "DE"
|
|
189
|
+
},
|
|
190
|
+
"created-date": {
|
|
191
|
+
"value": 1500192622273
|
|
192
|
+
},
|
|
193
|
+
"visibility": "PUBLIC",
|
|
194
|
+
"source": {
|
|
195
|
+
"source-orcid": {
|
|
196
|
+
"path": "0000-0001-6528-2027",
|
|
197
|
+
"host": "sandbox.orcid.org",
|
|
198
|
+
"uri": "http://sandbox.orcid.org/0000-0001-6528-2027"
|
|
199
|
+
},
|
|
200
|
+
"source-name": {
|
|
201
|
+
"value": "Martin Fenner"
|
|
202
|
+
},
|
|
203
|
+
"source-client-id": null
|
|
204
|
+
},
|
|
205
|
+
"display-index": 1,
|
|
206
|
+
"path": "/0000-0001-6528-2027/address/4809"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"last-modified-date": {
|
|
210
|
+
"value": 1500192622273
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|