doorkeeper 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of doorkeeper might be problematic. Click here for more details.
- data/README.md +63 -48
- data/app/assets/stylesheets/doorkeeper/application.css +10 -2
- data/app/controllers/doorkeeper/application_controller.rbc +663 -0
- data/app/controllers/doorkeeper/applications_controller.rbc +954 -0
- data/app/controllers/doorkeeper/authorizations_controller.rb +8 -1
- data/app/controllers/doorkeeper/authorizations_controller.rbc +595 -0
- data/app/controllers/doorkeeper/tokens_controller.rbc +423 -0
- data/app/helpers/doorkeeper/application_helper.rbc +127 -0
- data/app/models/access_grant.rb +10 -2
- data/app/models/access_grant.rbc +656 -0
- data/app/models/access_token.rbc +781 -0
- data/app/models/application.rbc +507 -0
- data/app/views/doorkeeper/authorizations/new.html.erb +16 -12
- data/app/views/layouts/doorkeeper/application.html.erb +9 -0
- data/config/initializers/form_errors.rbc +272 -0
- data/config/routes.rbc +322 -0
- data/lib/doorkeeper.rbc +407 -0
- data/lib/doorkeeper/config.rbc +941 -0
- data/lib/doorkeeper/doorkeeper_for.rbc +1029 -0
- data/lib/doorkeeper/engine.rbc +318 -0
- data/lib/doorkeeper/oauth/access_token_request.rb +9 -2
- data/lib/doorkeeper/oauth/access_token_request.rbc +1853 -0
- data/lib/doorkeeper/oauth/authorization_request.rb +5 -0
- data/lib/doorkeeper/oauth/authorization_request.rbc +2107 -0
- data/lib/doorkeeper/oauth/random_string.rbc +437 -0
- data/lib/doorkeeper/validations.rbc +774 -0
- data/lib/doorkeeper/version.rb +1 -1
- data/lib/doorkeeper/version.rbc +130 -0
- data/lib/generators/doorkeeper/install_generator.rbc +453 -0
- data/lib/generators/doorkeeper/templates/migration.rb +1 -0
- data/lib/tasks/doorkeeper_tasks.rake.compiled.rbc +40 -0
- metadata +44 -17
@@ -0,0 +1,781 @@
|
|
1
|
+
!RBIX
|
2
|
+
9595534255132031488
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
33
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
45
|
17
|
+
1
|
18
|
+
2
|
19
|
+
43
|
20
|
+
3
|
21
|
+
65
|
22
|
+
49
|
23
|
+
4
|
24
|
+
3
|
25
|
+
13
|
26
|
+
99
|
27
|
+
12
|
28
|
+
7
|
29
|
+
5
|
30
|
+
12
|
31
|
+
7
|
32
|
+
6
|
33
|
+
12
|
34
|
+
65
|
35
|
+
12
|
36
|
+
49
|
37
|
+
7
|
38
|
+
4
|
39
|
+
15
|
40
|
+
49
|
41
|
+
5
|
42
|
+
0
|
43
|
+
15
|
44
|
+
2
|
45
|
+
11
|
46
|
+
I
|
47
|
+
6
|
48
|
+
I
|
49
|
+
0
|
50
|
+
I
|
51
|
+
0
|
52
|
+
I
|
53
|
+
0
|
54
|
+
n
|
55
|
+
p
|
56
|
+
8
|
57
|
+
x
|
58
|
+
11
|
59
|
+
AccessToken
|
60
|
+
x
|
61
|
+
12
|
62
|
+
ActiveRecord
|
63
|
+
n
|
64
|
+
x
|
65
|
+
4
|
66
|
+
Base
|
67
|
+
x
|
68
|
+
10
|
69
|
+
open_class
|
70
|
+
x
|
71
|
+
14
|
72
|
+
__class_init__
|
73
|
+
M
|
74
|
+
1
|
75
|
+
n
|
76
|
+
n
|
77
|
+
x
|
78
|
+
11
|
79
|
+
AccessToken
|
80
|
+
i
|
81
|
+
189
|
82
|
+
5
|
83
|
+
66
|
84
|
+
5
|
85
|
+
45
|
86
|
+
0
|
87
|
+
1
|
88
|
+
43
|
89
|
+
2
|
90
|
+
43
|
91
|
+
3
|
92
|
+
47
|
93
|
+
49
|
94
|
+
4
|
95
|
+
1
|
96
|
+
15
|
97
|
+
5
|
98
|
+
7
|
99
|
+
5
|
100
|
+
64
|
101
|
+
13
|
102
|
+
18
|
103
|
+
2
|
104
|
+
47
|
105
|
+
49
|
106
|
+
6
|
107
|
+
1
|
108
|
+
15
|
109
|
+
15
|
110
|
+
5
|
111
|
+
7
|
112
|
+
7
|
113
|
+
47
|
114
|
+
49
|
115
|
+
8
|
116
|
+
1
|
117
|
+
15
|
118
|
+
5
|
119
|
+
7
|
120
|
+
9
|
121
|
+
5
|
122
|
+
44
|
123
|
+
43
|
124
|
+
10
|
125
|
+
79
|
126
|
+
49
|
127
|
+
11
|
128
|
+
1
|
129
|
+
13
|
130
|
+
7
|
131
|
+
12
|
132
|
+
1
|
133
|
+
49
|
134
|
+
13
|
135
|
+
2
|
136
|
+
15
|
137
|
+
47
|
138
|
+
49
|
139
|
+
14
|
140
|
+
1
|
141
|
+
47
|
142
|
+
49
|
143
|
+
15
|
144
|
+
2
|
145
|
+
15
|
146
|
+
5
|
147
|
+
7
|
148
|
+
16
|
149
|
+
7
|
150
|
+
17
|
151
|
+
7
|
152
|
+
18
|
153
|
+
44
|
154
|
+
43
|
155
|
+
10
|
156
|
+
79
|
157
|
+
49
|
158
|
+
11
|
159
|
+
1
|
160
|
+
13
|
161
|
+
7
|
162
|
+
19
|
163
|
+
2
|
164
|
+
49
|
165
|
+
13
|
166
|
+
2
|
167
|
+
15
|
168
|
+
47
|
169
|
+
49
|
170
|
+
20
|
171
|
+
4
|
172
|
+
15
|
173
|
+
5
|
174
|
+
7
|
175
|
+
21
|
176
|
+
44
|
177
|
+
43
|
178
|
+
10
|
179
|
+
79
|
180
|
+
49
|
181
|
+
11
|
182
|
+
1
|
183
|
+
13
|
184
|
+
7
|
185
|
+
22
|
186
|
+
7
|
187
|
+
23
|
188
|
+
49
|
189
|
+
13
|
190
|
+
2
|
191
|
+
15
|
192
|
+
47
|
193
|
+
49
|
194
|
+
24
|
195
|
+
2
|
196
|
+
15
|
197
|
+
99
|
198
|
+
7
|
199
|
+
25
|
200
|
+
7
|
201
|
+
26
|
202
|
+
65
|
203
|
+
67
|
204
|
+
49
|
205
|
+
27
|
206
|
+
0
|
207
|
+
49
|
208
|
+
28
|
209
|
+
4
|
210
|
+
15
|
211
|
+
99
|
212
|
+
7
|
213
|
+
29
|
214
|
+
7
|
215
|
+
30
|
216
|
+
65
|
217
|
+
67
|
218
|
+
49
|
219
|
+
27
|
220
|
+
0
|
221
|
+
49
|
222
|
+
28
|
223
|
+
4
|
224
|
+
15
|
225
|
+
99
|
226
|
+
7
|
227
|
+
31
|
228
|
+
7
|
229
|
+
32
|
230
|
+
65
|
231
|
+
67
|
232
|
+
49
|
233
|
+
27
|
234
|
+
0
|
235
|
+
49
|
236
|
+
28
|
237
|
+
4
|
238
|
+
15
|
239
|
+
99
|
240
|
+
7
|
241
|
+
33
|
242
|
+
7
|
243
|
+
34
|
244
|
+
65
|
245
|
+
67
|
246
|
+
49
|
247
|
+
27
|
248
|
+
0
|
249
|
+
49
|
250
|
+
28
|
251
|
+
4
|
252
|
+
15
|
253
|
+
5
|
254
|
+
48
|
255
|
+
35
|
256
|
+
15
|
257
|
+
99
|
258
|
+
7
|
259
|
+
21
|
260
|
+
7
|
261
|
+
36
|
262
|
+
65
|
263
|
+
67
|
264
|
+
49
|
265
|
+
27
|
266
|
+
0
|
267
|
+
49
|
268
|
+
28
|
269
|
+
4
|
270
|
+
11
|
271
|
+
I
|
272
|
+
8
|
273
|
+
I
|
274
|
+
0
|
275
|
+
I
|
276
|
+
0
|
277
|
+
I
|
278
|
+
0
|
279
|
+
n
|
280
|
+
p
|
281
|
+
37
|
282
|
+
x
|
283
|
+
10
|
284
|
+
Doorkeeper
|
285
|
+
n
|
286
|
+
x
|
287
|
+
5
|
288
|
+
OAuth
|
289
|
+
x
|
290
|
+
12
|
291
|
+
RandomString
|
292
|
+
x
|
293
|
+
7
|
294
|
+
include
|
295
|
+
s
|
296
|
+
19
|
297
|
+
oauth_access_tokens
|
298
|
+
x
|
299
|
+
11
|
300
|
+
table_name=
|
301
|
+
x
|
302
|
+
11
|
303
|
+
application
|
304
|
+
x
|
305
|
+
10
|
306
|
+
belongs_to
|
307
|
+
x
|
308
|
+
10
|
309
|
+
accessible
|
310
|
+
x
|
311
|
+
4
|
312
|
+
Hash
|
313
|
+
x
|
314
|
+
16
|
315
|
+
new_from_literal
|
316
|
+
x
|
317
|
+
10
|
318
|
+
revoked_at
|
319
|
+
x
|
320
|
+
3
|
321
|
+
[]=
|
322
|
+
x
|
323
|
+
5
|
324
|
+
where
|
325
|
+
x
|
326
|
+
5
|
327
|
+
scope
|
328
|
+
x
|
329
|
+
14
|
330
|
+
application_id
|
331
|
+
x
|
332
|
+
17
|
333
|
+
resource_owner_id
|
334
|
+
x
|
335
|
+
5
|
336
|
+
token
|
337
|
+
x
|
338
|
+
8
|
339
|
+
presence
|
340
|
+
x
|
341
|
+
9
|
342
|
+
validates
|
343
|
+
x
|
344
|
+
14
|
345
|
+
generate_token
|
346
|
+
x
|
347
|
+
2
|
348
|
+
on
|
349
|
+
x
|
350
|
+
6
|
351
|
+
create
|
352
|
+
x
|
353
|
+
17
|
354
|
+
before_validation
|
355
|
+
x
|
356
|
+
7
|
357
|
+
revoke!
|
358
|
+
M
|
359
|
+
1
|
360
|
+
n
|
361
|
+
n
|
362
|
+
x
|
363
|
+
7
|
364
|
+
revoke!
|
365
|
+
i
|
366
|
+
14
|
367
|
+
5
|
368
|
+
7
|
369
|
+
0
|
370
|
+
45
|
371
|
+
1
|
372
|
+
2
|
373
|
+
49
|
374
|
+
3
|
375
|
+
0
|
376
|
+
47
|
377
|
+
49
|
378
|
+
4
|
379
|
+
2
|
380
|
+
11
|
381
|
+
I
|
382
|
+
3
|
383
|
+
I
|
384
|
+
0
|
385
|
+
I
|
386
|
+
0
|
387
|
+
I
|
388
|
+
0
|
389
|
+
n
|
390
|
+
p
|
391
|
+
5
|
392
|
+
x
|
393
|
+
10
|
394
|
+
revoked_at
|
395
|
+
x
|
396
|
+
8
|
397
|
+
DateTime
|
398
|
+
n
|
399
|
+
x
|
400
|
+
3
|
401
|
+
now
|
402
|
+
x
|
403
|
+
16
|
404
|
+
update_attribute
|
405
|
+
p
|
406
|
+
5
|
407
|
+
I
|
408
|
+
-1
|
409
|
+
I
|
410
|
+
e
|
411
|
+
I
|
412
|
+
0
|
413
|
+
I
|
414
|
+
f
|
415
|
+
I
|
416
|
+
e
|
417
|
+
x
|
418
|
+
66
|
419
|
+
/Users/felipeelias/Applicake/doorkeeper/app/models/access_token.rb
|
420
|
+
p
|
421
|
+
0
|
422
|
+
x
|
423
|
+
17
|
424
|
+
method_visibility
|
425
|
+
x
|
426
|
+
15
|
427
|
+
add_defn_method
|
428
|
+
x
|
429
|
+
8
|
430
|
+
revoked?
|
431
|
+
M
|
432
|
+
1
|
433
|
+
n
|
434
|
+
n
|
435
|
+
x
|
436
|
+
8
|
437
|
+
revoked?
|
438
|
+
i
|
439
|
+
8
|
440
|
+
5
|
441
|
+
49
|
442
|
+
0
|
443
|
+
0
|
444
|
+
49
|
445
|
+
1
|
446
|
+
0
|
447
|
+
11
|
448
|
+
I
|
449
|
+
1
|
450
|
+
I
|
451
|
+
0
|
452
|
+
I
|
453
|
+
0
|
454
|
+
I
|
455
|
+
0
|
456
|
+
n
|
457
|
+
p
|
458
|
+
2
|
459
|
+
x
|
460
|
+
10
|
461
|
+
revoked_at
|
462
|
+
x
|
463
|
+
8
|
464
|
+
present?
|
465
|
+
p
|
466
|
+
5
|
467
|
+
I
|
468
|
+
-1
|
469
|
+
I
|
470
|
+
12
|
471
|
+
I
|
472
|
+
0
|
473
|
+
I
|
474
|
+
13
|
475
|
+
I
|
476
|
+
8
|
477
|
+
x
|
478
|
+
66
|
479
|
+
/Users/felipeelias/Applicake/doorkeeper/app/models/access_token.rb
|
480
|
+
p
|
481
|
+
0
|
482
|
+
x
|
483
|
+
8
|
484
|
+
expired?
|
485
|
+
M
|
486
|
+
1
|
487
|
+
n
|
488
|
+
n
|
489
|
+
x
|
490
|
+
8
|
491
|
+
expired?
|
492
|
+
i
|
493
|
+
24
|
494
|
+
5
|
495
|
+
49
|
496
|
+
0
|
497
|
+
0
|
498
|
+
49
|
499
|
+
1
|
500
|
+
0
|
501
|
+
13
|
502
|
+
9
|
503
|
+
23
|
504
|
+
15
|
505
|
+
45
|
506
|
+
2
|
507
|
+
3
|
508
|
+
49
|
509
|
+
4
|
510
|
+
0
|
511
|
+
5
|
512
|
+
49
|
513
|
+
0
|
514
|
+
0
|
515
|
+
85
|
516
|
+
5
|
517
|
+
11
|
518
|
+
I
|
519
|
+
2
|
520
|
+
I
|
521
|
+
0
|
522
|
+
I
|
523
|
+
0
|
524
|
+
I
|
525
|
+
0
|
526
|
+
n
|
527
|
+
p
|
528
|
+
6
|
529
|
+
x
|
530
|
+
10
|
531
|
+
expires_at
|
532
|
+
x
|
533
|
+
8
|
534
|
+
present?
|
535
|
+
x
|
536
|
+
8
|
537
|
+
DateTime
|
538
|
+
n
|
539
|
+
x
|
540
|
+
3
|
541
|
+
now
|
542
|
+
x
|
543
|
+
1
|
544
|
+
>
|
545
|
+
p
|
546
|
+
5
|
547
|
+
I
|
548
|
+
-1
|
549
|
+
I
|
550
|
+
16
|
551
|
+
I
|
552
|
+
0
|
553
|
+
I
|
554
|
+
17
|
555
|
+
I
|
556
|
+
18
|
557
|
+
x
|
558
|
+
66
|
559
|
+
/Users/felipeelias/Applicake/doorkeeper/app/models/access_token.rb
|
560
|
+
p
|
561
|
+
0
|
562
|
+
x
|
563
|
+
11
|
564
|
+
accessible?
|
565
|
+
M
|
566
|
+
1
|
567
|
+
n
|
568
|
+
n
|
569
|
+
x
|
570
|
+
11
|
571
|
+
accessible?
|
572
|
+
i
|
573
|
+
27
|
574
|
+
5
|
575
|
+
47
|
576
|
+
49
|
577
|
+
0
|
578
|
+
0
|
579
|
+
10
|
580
|
+
10
|
581
|
+
2
|
582
|
+
8
|
583
|
+
11
|
584
|
+
3
|
585
|
+
13
|
586
|
+
9
|
587
|
+
26
|
588
|
+
15
|
589
|
+
5
|
590
|
+
47
|
591
|
+
49
|
592
|
+
1
|
593
|
+
0
|
594
|
+
10
|
595
|
+
25
|
596
|
+
2
|
597
|
+
8
|
598
|
+
26
|
599
|
+
3
|
600
|
+
11
|
601
|
+
I
|
602
|
+
2
|
603
|
+
I
|
604
|
+
0
|
605
|
+
I
|
606
|
+
0
|
607
|
+
I
|
608
|
+
0
|
609
|
+
n
|
610
|
+
p
|
611
|
+
2
|
612
|
+
x
|
613
|
+
8
|
614
|
+
expired?
|
615
|
+
x
|
616
|
+
8
|
617
|
+
revoked?
|
618
|
+
p
|
619
|
+
5
|
620
|
+
I
|
621
|
+
-1
|
622
|
+
I
|
623
|
+
1a
|
624
|
+
I
|
625
|
+
0
|
626
|
+
I
|
627
|
+
1b
|
628
|
+
I
|
629
|
+
1b
|
630
|
+
x
|
631
|
+
66
|
632
|
+
/Users/felipeelias/Applicake/doorkeeper/app/models/access_token.rb
|
633
|
+
p
|
634
|
+
0
|
635
|
+
x
|
636
|
+
7
|
637
|
+
private
|
638
|
+
M
|
639
|
+
1
|
640
|
+
n
|
641
|
+
n
|
642
|
+
x
|
643
|
+
14
|
644
|
+
generate_token
|
645
|
+
i
|
646
|
+
17
|
647
|
+
5
|
648
|
+
5
|
649
|
+
7
|
650
|
+
0
|
651
|
+
47
|
652
|
+
49
|
653
|
+
1
|
654
|
+
1
|
655
|
+
13
|
656
|
+
18
|
657
|
+
2
|
658
|
+
47
|
659
|
+
49
|
660
|
+
2
|
661
|
+
1
|
662
|
+
15
|
663
|
+
11
|
664
|
+
I
|
665
|
+
3
|
666
|
+
I
|
667
|
+
0
|
668
|
+
I
|
669
|
+
0
|
670
|
+
I
|
671
|
+
0
|
672
|
+
n
|
673
|
+
p
|
674
|
+
3
|
675
|
+
x
|
676
|
+
5
|
677
|
+
token
|
678
|
+
x
|
679
|
+
24
|
680
|
+
unique_random_string_for
|
681
|
+
x
|
682
|
+
6
|
683
|
+
token=
|
684
|
+
p
|
685
|
+
7
|
686
|
+
I
|
687
|
+
-1
|
688
|
+
I
|
689
|
+
20
|
690
|
+
I
|
691
|
+
0
|
692
|
+
I
|
693
|
+
23
|
694
|
+
I
|
695
|
+
1
|
696
|
+
I
|
697
|
+
21
|
698
|
+
I
|
699
|
+
11
|
700
|
+
x
|
701
|
+
66
|
702
|
+
/Users/felipeelias/Applicake/doorkeeper/app/models/access_token.rb
|
703
|
+
p
|
704
|
+
0
|
705
|
+
p
|
706
|
+
27
|
707
|
+
I
|
708
|
+
2
|
709
|
+
I
|
710
|
+
2
|
711
|
+
I
|
712
|
+
f
|
713
|
+
I
|
714
|
+
23
|
715
|
+
I
|
716
|
+
10
|
717
|
+
I
|
718
|
+
4
|
719
|
+
I
|
720
|
+
1c
|
721
|
+
I
|
722
|
+
6
|
723
|
+
I
|
724
|
+
24
|
725
|
+
I
|
726
|
+
8
|
727
|
+
I
|
728
|
+
40
|
729
|
+
I
|
730
|
+
a
|
731
|
+
I
|
732
|
+
5b
|
733
|
+
I
|
734
|
+
c
|
735
|
+
I
|
736
|
+
73
|
737
|
+
I
|
738
|
+
e
|
739
|
+
I
|
740
|
+
81
|
741
|
+
I
|
742
|
+
12
|
743
|
+
I
|
744
|
+
8f
|
745
|
+
I
|
746
|
+
16
|
747
|
+
I
|
748
|
+
9d
|
749
|
+
I
|
750
|
+
1a
|
751
|
+
I
|
752
|
+
ab
|
753
|
+
I
|
754
|
+
1e
|
755
|
+
I
|
756
|
+
af
|
757
|
+
I
|
758
|
+
20
|
759
|
+
I
|
760
|
+
bd
|
761
|
+
x
|
762
|
+
66
|
763
|
+
/Users/felipeelias/Applicake/doorkeeper/app/models/access_token.rb
|
764
|
+
p
|
765
|
+
0
|
766
|
+
x
|
767
|
+
13
|
768
|
+
attach_method
|
769
|
+
p
|
770
|
+
3
|
771
|
+
I
|
772
|
+
0
|
773
|
+
I
|
774
|
+
1
|
775
|
+
I
|
776
|
+
21
|
777
|
+
x
|
778
|
+
66
|
779
|
+
/Users/felipeelias/Applicake/doorkeeper/app/models/access_token.rb
|
780
|
+
p
|
781
|
+
0
|