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.

Files changed (32) hide show
  1. data/README.md +63 -48
  2. data/app/assets/stylesheets/doorkeeper/application.css +10 -2
  3. data/app/controllers/doorkeeper/application_controller.rbc +663 -0
  4. data/app/controllers/doorkeeper/applications_controller.rbc +954 -0
  5. data/app/controllers/doorkeeper/authorizations_controller.rb +8 -1
  6. data/app/controllers/doorkeeper/authorizations_controller.rbc +595 -0
  7. data/app/controllers/doorkeeper/tokens_controller.rbc +423 -0
  8. data/app/helpers/doorkeeper/application_helper.rbc +127 -0
  9. data/app/models/access_grant.rb +10 -2
  10. data/app/models/access_grant.rbc +656 -0
  11. data/app/models/access_token.rbc +781 -0
  12. data/app/models/application.rbc +507 -0
  13. data/app/views/doorkeeper/authorizations/new.html.erb +16 -12
  14. data/app/views/layouts/doorkeeper/application.html.erb +9 -0
  15. data/config/initializers/form_errors.rbc +272 -0
  16. data/config/routes.rbc +322 -0
  17. data/lib/doorkeeper.rbc +407 -0
  18. data/lib/doorkeeper/config.rbc +941 -0
  19. data/lib/doorkeeper/doorkeeper_for.rbc +1029 -0
  20. data/lib/doorkeeper/engine.rbc +318 -0
  21. data/lib/doorkeeper/oauth/access_token_request.rb +9 -2
  22. data/lib/doorkeeper/oauth/access_token_request.rbc +1853 -0
  23. data/lib/doorkeeper/oauth/authorization_request.rb +5 -0
  24. data/lib/doorkeeper/oauth/authorization_request.rbc +2107 -0
  25. data/lib/doorkeeper/oauth/random_string.rbc +437 -0
  26. data/lib/doorkeeper/validations.rbc +774 -0
  27. data/lib/doorkeeper/version.rb +1 -1
  28. data/lib/doorkeeper/version.rbc +130 -0
  29. data/lib/generators/doorkeeper/install_generator.rbc +453 -0
  30. data/lib/generators/doorkeeper/templates/migration.rb +1 -0
  31. data/lib/tasks/doorkeeper_tasks.rake.compiled.rbc +40 -0
  32. metadata +44 -17
@@ -0,0 +1,318 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 28
13
+ 99
14
+ 7
15
+ 0
16
+ 65
17
+ 49
18
+ 1
19
+ 2
20
+ 13
21
+ 99
22
+ 12
23
+ 7
24
+ 2
25
+ 12
26
+ 7
27
+ 3
28
+ 12
29
+ 65
30
+ 12
31
+ 49
32
+ 4
33
+ 4
34
+ 15
35
+ 49
36
+ 2
37
+ 0
38
+ 15
39
+ 2
40
+ 11
41
+ I
42
+ 6
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ n
50
+ p
51
+ 5
52
+ x
53
+ 10
54
+ Doorkeeper
55
+ x
56
+ 11
57
+ open_module
58
+ x
59
+ 15
60
+ __module_init__
61
+ M
62
+ 1
63
+ n
64
+ n
65
+ x
66
+ 10
67
+ Doorkeeper
68
+ i
69
+ 33
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 45
76
+ 1
77
+ 2
78
+ 43
79
+ 0
80
+ 65
81
+ 49
82
+ 3
83
+ 3
84
+ 13
85
+ 99
86
+ 12
87
+ 7
88
+ 4
89
+ 12
90
+ 7
91
+ 5
92
+ 12
93
+ 65
94
+ 12
95
+ 49
96
+ 6
97
+ 4
98
+ 15
99
+ 49
100
+ 4
101
+ 0
102
+ 11
103
+ I
104
+ 6
105
+ I
106
+ 0
107
+ I
108
+ 0
109
+ I
110
+ 0
111
+ n
112
+ p
113
+ 7
114
+ x
115
+ 6
116
+ Engine
117
+ x
118
+ 5
119
+ Rails
120
+ n
121
+ x
122
+ 10
123
+ open_class
124
+ x
125
+ 14
126
+ __class_init__
127
+ M
128
+ 1
129
+ n
130
+ n
131
+ x
132
+ 6
133
+ Engine
134
+ i
135
+ 20
136
+ 5
137
+ 66
138
+ 5
139
+ 45
140
+ 0
141
+ 1
142
+ 47
143
+ 49
144
+ 2
145
+ 1
146
+ 15
147
+ 5
148
+ 48
149
+ 3
150
+ 56
151
+ 4
152
+ 50
153
+ 5
154
+ 0
155
+ 11
156
+ I
157
+ 2
158
+ I
159
+ 0
160
+ I
161
+ 0
162
+ I
163
+ 0
164
+ n
165
+ p
166
+ 6
167
+ x
168
+ 10
169
+ Doorkeeper
170
+ n
171
+ x
172
+ 17
173
+ isolate_namespace
174
+ x
175
+ 6
176
+ config
177
+ M
178
+ 1
179
+ p
180
+ 2
181
+ x
182
+ 9
183
+ for_block
184
+ t
185
+ n
186
+ x
187
+ 6
188
+ Engine
189
+ i
190
+ 27
191
+ 57
192
+ 19
193
+ 0
194
+ 15
195
+ 20
196
+ 0
197
+ 7
198
+ 0
199
+ 44
200
+ 43
201
+ 1
202
+ 79
203
+ 49
204
+ 2
205
+ 1
206
+ 13
207
+ 7
208
+ 3
209
+ 3
210
+ 49
211
+ 4
212
+ 2
213
+ 15
214
+ 49
215
+ 5
216
+ 2
217
+ 11
218
+ I
219
+ 8
220
+ I
221
+ 1
222
+ I
223
+ 1
224
+ I
225
+ 1
226
+ n
227
+ p
228
+ 6
229
+ x
230
+ 5
231
+ rspec
232
+ x
233
+ 4
234
+ Hash
235
+ x
236
+ 16
237
+ new_from_literal
238
+ x
239
+ 10
240
+ view_specs
241
+ x
242
+ 3
243
+ []=
244
+ x
245
+ 14
246
+ test_framework
247
+ p
248
+ 5
249
+ I
250
+ 0
251
+ I
252
+ 5
253
+ I
254
+ 4
255
+ I
256
+ 6
257
+ I
258
+ 1b
259
+ x
260
+ 64
261
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/engine.rb
262
+ p
263
+ 1
264
+ x
265
+ 1
266
+ g
267
+ x
268
+ 10
269
+ generators
270
+ p
271
+ 5
272
+ I
273
+ 2
274
+ I
275
+ 3
276
+ I
277
+ b
278
+ I
279
+ 5
280
+ I
281
+ 14
282
+ x
283
+ 64
284
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/engine.rb
285
+ p
286
+ 0
287
+ x
288
+ 13
289
+ attach_method
290
+ p
291
+ 3
292
+ I
293
+ 2
294
+ I
295
+ 2
296
+ I
297
+ 21
298
+ x
299
+ 64
300
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/engine.rb
301
+ p
302
+ 0
303
+ x
304
+ 13
305
+ attach_method
306
+ p
307
+ 3
308
+ I
309
+ 0
310
+ I
311
+ 1
312
+ I
313
+ 1c
314
+ x
315
+ 64
316
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/engine.rb
317
+ p
318
+ 0
@@ -23,7 +23,10 @@ module Doorkeeper::OAuth
23
23
  end
24
24
 
25
25
  def authorize
26
- create_access_token if valid?
26
+ if valid?
27
+ revoke_grant
28
+ create_access_token
29
+ end
27
30
  end
28
31
 
29
32
  def authorization
@@ -54,13 +57,17 @@ module Doorkeeper::OAuth
54
57
  @grant ||= AccessGrant.find_by_token(@code)
55
58
  end
56
59
 
60
+ def revoke_grant
61
+ grant.revoke
62
+ end
63
+
57
64
  def client
58
65
  @client ||= Application.find_by_uid_and_secret(@client_id, @client_secret)
59
66
  end
60
67
 
61
68
  def create_access_token
62
69
  @access_token = AccessToken.create!({
63
- :application_id => client.uid,
70
+ :application_id => client.id,
64
71
  :resource_owner_id => grant.resource_owner_id,
65
72
  })
66
73
  end
@@ -0,0 +1,1853 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 30
13
+ 99
14
+ 7
15
+ 0
16
+ 45
17
+ 1
18
+ 2
19
+ 49
20
+ 3
21
+ 2
22
+ 13
23
+ 99
24
+ 12
25
+ 7
26
+ 4
27
+ 12
28
+ 7
29
+ 5
30
+ 12
31
+ 65
32
+ 12
33
+ 49
34
+ 6
35
+ 4
36
+ 15
37
+ 49
38
+ 4
39
+ 0
40
+ 15
41
+ 2
42
+ 11
43
+ I
44
+ 6
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ I
50
+ 0
51
+ n
52
+ p
53
+ 7
54
+ x
55
+ 5
56
+ OAuth
57
+ x
58
+ 10
59
+ Doorkeeper
60
+ n
61
+ x
62
+ 17
63
+ open_module_under
64
+ x
65
+ 15
66
+ __module_init__
67
+ M
68
+ 1
69
+ n
70
+ n
71
+ x
72
+ 5
73
+ OAuth
74
+ i
75
+ 29
76
+ 5
77
+ 66
78
+ 99
79
+ 7
80
+ 0
81
+ 1
82
+ 65
83
+ 49
84
+ 1
85
+ 3
86
+ 13
87
+ 99
88
+ 12
89
+ 7
90
+ 2
91
+ 12
92
+ 7
93
+ 3
94
+ 12
95
+ 65
96
+ 12
97
+ 49
98
+ 4
99
+ 4
100
+ 15
101
+ 49
102
+ 2
103
+ 0
104
+ 11
105
+ I
106
+ 6
107
+ I
108
+ 0
109
+ I
110
+ 0
111
+ I
112
+ 0
113
+ n
114
+ p
115
+ 5
116
+ x
117
+ 18
118
+ AccessTokenRequest
119
+ x
120
+ 10
121
+ open_class
122
+ x
123
+ 14
124
+ __class_init__
125
+ M
126
+ 1
127
+ n
128
+ n
129
+ x
130
+ 18
131
+ AccessTokenRequest
132
+ i
133
+ 339
134
+ 5
135
+ 66
136
+ 5
137
+ 45
138
+ 0
139
+ 1
140
+ 43
141
+ 2
142
+ 47
143
+ 49
144
+ 3
145
+ 1
146
+ 15
147
+ 65
148
+ 7
149
+ 4
150
+ 7
151
+ 5
152
+ 7
153
+ 6
154
+ 7
155
+ 7
156
+ 7
157
+ 8
158
+ 7
159
+ 9
160
+ 35
161
+ 5
162
+ 49
163
+ 10
164
+ 2
165
+ 15
166
+ 5
167
+ 7
168
+ 11
169
+ 44
170
+ 43
171
+ 12
172
+ 79
173
+ 49
174
+ 13
175
+ 1
176
+ 13
177
+ 7
178
+ 14
179
+ 7
180
+ 15
181
+ 49
182
+ 16
183
+ 2
184
+ 15
185
+ 47
186
+ 49
187
+ 17
188
+ 2
189
+ 15
190
+ 5
191
+ 7
192
+ 18
193
+ 44
194
+ 43
195
+ 12
196
+ 79
197
+ 49
198
+ 13
199
+ 1
200
+ 13
201
+ 7
202
+ 14
203
+ 7
204
+ 19
205
+ 49
206
+ 16
207
+ 2
208
+ 15
209
+ 47
210
+ 49
211
+ 17
212
+ 2
213
+ 15
214
+ 5
215
+ 7
216
+ 20
217
+ 44
218
+ 43
219
+ 12
220
+ 79
221
+ 49
222
+ 13
223
+ 1
224
+ 13
225
+ 7
226
+ 14
227
+ 7
228
+ 21
229
+ 49
230
+ 16
231
+ 2
232
+ 15
233
+ 47
234
+ 49
235
+ 17
236
+ 2
237
+ 15
238
+ 5
239
+ 7
240
+ 7
241
+ 44
242
+ 43
243
+ 12
244
+ 79
245
+ 49
246
+ 13
247
+ 1
248
+ 13
249
+ 7
250
+ 14
251
+ 7
252
+ 22
253
+ 49
254
+ 16
255
+ 2
256
+ 15
257
+ 47
258
+ 49
259
+ 17
260
+ 2
261
+ 15
262
+ 5
263
+ 45
264
+ 4
265
+ 23
266
+ 36
267
+ 1
268
+ 47
269
+ 51
270
+ 24
271
+ 0
272
+ 15
273
+ 99
274
+ 7
275
+ 25
276
+ 7
277
+ 26
278
+ 65
279
+ 67
280
+ 49
281
+ 27
282
+ 0
283
+ 49
284
+ 28
285
+ 4
286
+ 15
287
+ 99
288
+ 7
289
+ 29
290
+ 7
291
+ 30
292
+ 65
293
+ 67
294
+ 49
295
+ 27
296
+ 0
297
+ 49
298
+ 28
299
+ 4
300
+ 15
301
+ 99
302
+ 7
303
+ 31
304
+ 7
305
+ 32
306
+ 65
307
+ 67
308
+ 49
309
+ 27
310
+ 0
311
+ 49
312
+ 28
313
+ 4
314
+ 15
315
+ 99
316
+ 7
317
+ 33
318
+ 7
319
+ 34
320
+ 65
321
+ 67
322
+ 49
323
+ 27
324
+ 0
325
+ 49
326
+ 28
327
+ 4
328
+ 15
329
+ 99
330
+ 7
331
+ 35
332
+ 7
333
+ 36
334
+ 65
335
+ 67
336
+ 49
337
+ 27
338
+ 0
339
+ 49
340
+ 28
341
+ 4
342
+ 15
343
+ 99
344
+ 7
345
+ 37
346
+ 7
347
+ 38
348
+ 65
349
+ 67
350
+ 49
351
+ 27
352
+ 0
353
+ 49
354
+ 28
355
+ 4
356
+ 15
357
+ 99
358
+ 7
359
+ 39
360
+ 7
361
+ 40
362
+ 65
363
+ 67
364
+ 49
365
+ 27
366
+ 0
367
+ 49
368
+ 28
369
+ 4
370
+ 15
371
+ 5
372
+ 48
373
+ 41
374
+ 15
375
+ 99
376
+ 7
377
+ 20
378
+ 7
379
+ 42
380
+ 65
381
+ 67
382
+ 49
383
+ 27
384
+ 0
385
+ 49
386
+ 28
387
+ 4
388
+ 15
389
+ 99
390
+ 7
391
+ 18
392
+ 7
393
+ 43
394
+ 65
395
+ 67
396
+ 49
397
+ 27
398
+ 0
399
+ 49
400
+ 28
401
+ 4
402
+ 15
403
+ 99
404
+ 7
405
+ 44
406
+ 7
407
+ 45
408
+ 65
409
+ 67
410
+ 49
411
+ 27
412
+ 0
413
+ 49
414
+ 28
415
+ 4
416
+ 15
417
+ 99
418
+ 7
419
+ 46
420
+ 7
421
+ 47
422
+ 65
423
+ 67
424
+ 49
425
+ 27
426
+ 0
427
+ 49
428
+ 28
429
+ 4
430
+ 15
431
+ 99
432
+ 7
433
+ 48
434
+ 7
435
+ 49
436
+ 65
437
+ 67
438
+ 49
439
+ 27
440
+ 0
441
+ 49
442
+ 28
443
+ 4
444
+ 15
445
+ 99
446
+ 7
447
+ 50
448
+ 7
449
+ 51
450
+ 65
451
+ 67
452
+ 49
453
+ 27
454
+ 0
455
+ 49
456
+ 28
457
+ 4
458
+ 15
459
+ 99
460
+ 7
461
+ 52
462
+ 7
463
+ 53
464
+ 65
465
+ 67
466
+ 49
467
+ 27
468
+ 0
469
+ 49
470
+ 28
471
+ 4
472
+ 11
473
+ I
474
+ 7
475
+ I
476
+ 0
477
+ I
478
+ 0
479
+ I
480
+ 0
481
+ n
482
+ p
483
+ 54
484
+ x
485
+ 10
486
+ Doorkeeper
487
+ n
488
+ x
489
+ 11
490
+ Validations
491
+ x
492
+ 7
493
+ include
494
+ x
495
+ 10
496
+ ATTRIBUTES
497
+ x
498
+ 9
499
+ client_id
500
+ x
501
+ 13
502
+ client_secret
503
+ x
504
+ 10
505
+ grant_type
506
+ x
507
+ 4
508
+ code
509
+ x
510
+ 12
511
+ redirect_uri
512
+ x
513
+ 9
514
+ const_set
515
+ x
516
+ 10
517
+ attributes
518
+ x
519
+ 4
520
+ Hash
521
+ x
522
+ 16
523
+ new_from_literal
524
+ x
525
+ 5
526
+ error
527
+ x
528
+ 15
529
+ invalid_request
530
+ x
531
+ 3
532
+ []=
533
+ x
534
+ 8
535
+ validate
536
+ x
537
+ 6
538
+ client
539
+ x
540
+ 14
541
+ invalid_client
542
+ x
543
+ 5
544
+ grant
545
+ x
546
+ 13
547
+ invalid_grant
548
+ x
549
+ 22
550
+ unsupported_grant_type
551
+ n
552
+ x
553
+ 13
554
+ attr_accessor
555
+ x
556
+ 10
557
+ initialize
558
+ M
559
+ 1
560
+ n
561
+ n
562
+ x
563
+ 10
564
+ initialize
565
+ i
566
+ 27
567
+ 23
568
+ 0
569
+ 10
570
+ 14
571
+ 44
572
+ 43
573
+ 0
574
+ 78
575
+ 49
576
+ 1
577
+ 1
578
+ 19
579
+ 0
580
+ 15
581
+ 45
582
+ 2
583
+ 3
584
+ 56
585
+ 4
586
+ 50
587
+ 5
588
+ 0
589
+ 15
590
+ 5
591
+ 48
592
+ 6
593
+ 11
594
+ I
595
+ 3
596
+ I
597
+ 1
598
+ I
599
+ 0
600
+ I
601
+ 1
602
+ n
603
+ p
604
+ 7
605
+ x
606
+ 4
607
+ Hash
608
+ x
609
+ 16
610
+ new_from_literal
611
+ x
612
+ 10
613
+ ATTRIBUTES
614
+ n
615
+ M
616
+ 1
617
+ p
618
+ 2
619
+ x
620
+ 9
621
+ for_block
622
+ t
623
+ n
624
+ x
625
+ 10
626
+ initialize
627
+ i
628
+ 27
629
+ 57
630
+ 19
631
+ 0
632
+ 15
633
+ 5
634
+ 7
635
+ 0
636
+ 20
637
+ 0
638
+ 47
639
+ 101
640
+ 1
641
+ 63
642
+ 2
643
+ 21
644
+ 1
645
+ 0
646
+ 20
647
+ 0
648
+ 49
649
+ 2
650
+ 1
651
+ 47
652
+ 49
653
+ 3
654
+ 2
655
+ 11
656
+ I
657
+ 6
658
+ I
659
+ 1
660
+ I
661
+ 1
662
+ I
663
+ 1
664
+ n
665
+ p
666
+ 4
667
+ s
668
+ 1
669
+ @
670
+ x
671
+ 4
672
+ to_s
673
+ x
674
+ 2
675
+ []
676
+ x
677
+ 21
678
+ instance_variable_set
679
+ p
680
+ 3
681
+ I
682
+ 0
683
+ I
684
+ 15
685
+ I
686
+ 1b
687
+ x
688
+ 84
689
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
690
+ p
691
+ 1
692
+ x
693
+ 4
694
+ attr
695
+ x
696
+ 4
697
+ each
698
+ x
699
+ 8
700
+ validate
701
+ p
702
+ 7
703
+ I
704
+ -1
705
+ I
706
+ 14
707
+ I
708
+ e
709
+ I
710
+ 15
711
+ I
712
+ 17
713
+ I
714
+ 16
715
+ I
716
+ 1b
717
+ x
718
+ 84
719
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
720
+ p
721
+ 1
722
+ x
723
+ 10
724
+ attributes
725
+ x
726
+ 17
727
+ method_visibility
728
+ x
729
+ 15
730
+ add_defn_method
731
+ x
732
+ 9
733
+ authorize
734
+ M
735
+ 1
736
+ n
737
+ n
738
+ x
739
+ 9
740
+ authorize
741
+ i
742
+ 14
743
+ 5
744
+ 47
745
+ 49
746
+ 0
747
+ 0
748
+ 9
749
+ 12
750
+ 5
751
+ 48
752
+ 1
753
+ 8
754
+ 13
755
+ 1
756
+ 11
757
+ I
758
+ 1
759
+ I
760
+ 0
761
+ I
762
+ 0
763
+ I
764
+ 0
765
+ n
766
+ p
767
+ 2
768
+ x
769
+ 6
770
+ valid?
771
+ x
772
+ 19
773
+ create_access_token
774
+ p
775
+ 7
776
+ I
777
+ -1
778
+ I
779
+ 19
780
+ I
781
+ 0
782
+ I
783
+ 1a
784
+ I
785
+ d
786
+ I
787
+ 0
788
+ I
789
+ e
790
+ x
791
+ 84
792
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
793
+ p
794
+ 0
795
+ x
796
+ 13
797
+ authorization
798
+ M
799
+ 1
800
+ n
801
+ n
802
+ x
803
+ 13
804
+ authorization
805
+ i
806
+ 30
807
+ 44
808
+ 43
809
+ 0
810
+ 80
811
+ 49
812
+ 1
813
+ 1
814
+ 13
815
+ 7
816
+ 2
817
+ 64
818
+ 5
819
+ 48
820
+ 3
821
+ 49
822
+ 4
823
+ 2
824
+ 15
825
+ 13
826
+ 7
827
+ 5
828
+ 64
829
+ 5
830
+ 48
831
+ 6
832
+ 49
833
+ 4
834
+ 2
835
+ 15
836
+ 11
837
+ I
838
+ 4
839
+ I
840
+ 0
841
+ I
842
+ 0
843
+ I
844
+ 0
845
+ n
846
+ p
847
+ 7
848
+ x
849
+ 4
850
+ Hash
851
+ x
852
+ 16
853
+ new_from_literal
854
+ s
855
+ 12
856
+ access_token
857
+ x
858
+ 12
859
+ access_token
860
+ x
861
+ 3
862
+ []=
863
+ s
864
+ 10
865
+ token_type
866
+ x
867
+ 10
868
+ token_type
869
+ p
870
+ 9
871
+ I
872
+ -1
873
+ I
874
+ 1d
875
+ I
876
+ 0
877
+ I
878
+ 20
879
+ I
880
+ 8
881
+ I
882
+ 1e
883
+ I
884
+ 13
885
+ I
886
+ 1f
887
+ I
888
+ 1e
889
+ x
890
+ 84
891
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
892
+ p
893
+ 0
894
+ x
895
+ 6
896
+ valid?
897
+ M
898
+ 1
899
+ n
900
+ n
901
+ x
902
+ 6
903
+ valid?
904
+ i
905
+ 8
906
+ 5
907
+ 49
908
+ 0
909
+ 0
910
+ 49
911
+ 1
912
+ 0
913
+ 11
914
+ I
915
+ 1
916
+ I
917
+ 0
918
+ I
919
+ 0
920
+ I
921
+ 0
922
+ n
923
+ p
924
+ 2
925
+ x
926
+ 5
927
+ error
928
+ x
929
+ 4
930
+ nil?
931
+ p
932
+ 5
933
+ I
934
+ -1
935
+ I
936
+ 23
937
+ I
938
+ 0
939
+ I
940
+ 24
941
+ I
942
+ 8
943
+ x
944
+ 84
945
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
946
+ p
947
+ 0
948
+ x
949
+ 12
950
+ access_token
951
+ M
952
+ 1
953
+ n
954
+ n
955
+ x
956
+ 12
957
+ access_token
958
+ i
959
+ 6
960
+ 39
961
+ 0
962
+ 49
963
+ 1
964
+ 0
965
+ 11
966
+ I
967
+ 1
968
+ I
969
+ 0
970
+ I
971
+ 0
972
+ I
973
+ 0
974
+ n
975
+ p
976
+ 2
977
+ x
978
+ 13
979
+ @access_token
980
+ x
981
+ 5
982
+ token
983
+ p
984
+ 5
985
+ I
986
+ -1
987
+ I
988
+ 27
989
+ I
990
+ 0
991
+ I
992
+ 28
993
+ I
994
+ 6
995
+ x
996
+ 84
997
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
998
+ p
999
+ 0
1000
+ x
1001
+ 10
1002
+ token_type
1003
+ M
1004
+ 1
1005
+ n
1006
+ n
1007
+ x
1008
+ 10
1009
+ token_type
1010
+ i
1011
+ 4
1012
+ 7
1013
+ 0
1014
+ 64
1015
+ 11
1016
+ I
1017
+ 1
1018
+ I
1019
+ 0
1020
+ I
1021
+ 0
1022
+ I
1023
+ 0
1024
+ n
1025
+ p
1026
+ 1
1027
+ s
1028
+ 6
1029
+ bearer
1030
+ p
1031
+ 5
1032
+ I
1033
+ -1
1034
+ I
1035
+ 2b
1036
+ I
1037
+ 0
1038
+ I
1039
+ 2c
1040
+ I
1041
+ 4
1042
+ x
1043
+ 84
1044
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1045
+ p
1046
+ 0
1047
+ x
1048
+ 14
1049
+ error_response
1050
+ M
1051
+ 1
1052
+ n
1053
+ n
1054
+ x
1055
+ 14
1056
+ error_response
1057
+ i
1058
+ 22
1059
+ 44
1060
+ 43
1061
+ 0
1062
+ 79
1063
+ 49
1064
+ 1
1065
+ 1
1066
+ 13
1067
+ 7
1068
+ 2
1069
+ 64
1070
+ 5
1071
+ 48
1072
+ 3
1073
+ 49
1074
+ 4
1075
+ 0
1076
+ 49
1077
+ 5
1078
+ 2
1079
+ 15
1080
+ 11
1081
+ I
1082
+ 4
1083
+ I
1084
+ 0
1085
+ I
1086
+ 0
1087
+ I
1088
+ 0
1089
+ n
1090
+ p
1091
+ 6
1092
+ x
1093
+ 4
1094
+ Hash
1095
+ x
1096
+ 16
1097
+ new_from_literal
1098
+ s
1099
+ 5
1100
+ error
1101
+ x
1102
+ 5
1103
+ error
1104
+ x
1105
+ 4
1106
+ to_s
1107
+ x
1108
+ 3
1109
+ []=
1110
+ p
1111
+ 5
1112
+ I
1113
+ -1
1114
+ I
1115
+ 2f
1116
+ I
1117
+ 0
1118
+ I
1119
+ 30
1120
+ I
1121
+ 16
1122
+ x
1123
+ 84
1124
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1125
+ p
1126
+ 0
1127
+ x
1128
+ 7
1129
+ private
1130
+ M
1131
+ 1
1132
+ n
1133
+ n
1134
+ x
1135
+ 5
1136
+ grant
1137
+ i
1138
+ 17
1139
+ 39
1140
+ 0
1141
+ 13
1142
+ 10
1143
+ 16
1144
+ 15
1145
+ 45
1146
+ 1
1147
+ 2
1148
+ 39
1149
+ 3
1150
+ 49
1151
+ 4
1152
+ 1
1153
+ 38
1154
+ 0
1155
+ 11
1156
+ I
1157
+ 2
1158
+ I
1159
+ 0
1160
+ I
1161
+ 0
1162
+ I
1163
+ 0
1164
+ n
1165
+ p
1166
+ 5
1167
+ x
1168
+ 6
1169
+ @grant
1170
+ x
1171
+ 11
1172
+ AccessGrant
1173
+ n
1174
+ x
1175
+ 5
1176
+ @code
1177
+ x
1178
+ 13
1179
+ find_by_token
1180
+ p
1181
+ 5
1182
+ I
1183
+ -1
1184
+ I
1185
+ 35
1186
+ I
1187
+ 0
1188
+ I
1189
+ 36
1190
+ I
1191
+ 11
1192
+ x
1193
+ 84
1194
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1195
+ p
1196
+ 0
1197
+ M
1198
+ 1
1199
+ n
1200
+ n
1201
+ x
1202
+ 6
1203
+ client
1204
+ i
1205
+ 19
1206
+ 39
1207
+ 0
1208
+ 13
1209
+ 10
1210
+ 18
1211
+ 15
1212
+ 45
1213
+ 1
1214
+ 2
1215
+ 39
1216
+ 3
1217
+ 39
1218
+ 4
1219
+ 49
1220
+ 5
1221
+ 2
1222
+ 38
1223
+ 0
1224
+ 11
1225
+ I
1226
+ 3
1227
+ I
1228
+ 0
1229
+ I
1230
+ 0
1231
+ I
1232
+ 0
1233
+ n
1234
+ p
1235
+ 6
1236
+ x
1237
+ 7
1238
+ @client
1239
+ x
1240
+ 11
1241
+ Application
1242
+ n
1243
+ x
1244
+ 10
1245
+ @client_id
1246
+ x
1247
+ 14
1248
+ @client_secret
1249
+ x
1250
+ 22
1251
+ find_by_uid_and_secret
1252
+ p
1253
+ 5
1254
+ I
1255
+ -1
1256
+ I
1257
+ 39
1258
+ I
1259
+ 0
1260
+ I
1261
+ 3a
1262
+ I
1263
+ 13
1264
+ x
1265
+ 84
1266
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1267
+ p
1268
+ 0
1269
+ x
1270
+ 19
1271
+ create_access_token
1272
+ M
1273
+ 1
1274
+ n
1275
+ n
1276
+ x
1277
+ 19
1278
+ create_access_token
1279
+ i
1280
+ 42
1281
+ 45
1282
+ 0
1283
+ 1
1284
+ 44
1285
+ 43
1286
+ 2
1287
+ 80
1288
+ 49
1289
+ 3
1290
+ 1
1291
+ 13
1292
+ 7
1293
+ 4
1294
+ 5
1295
+ 48
1296
+ 5
1297
+ 49
1298
+ 6
1299
+ 0
1300
+ 49
1301
+ 7
1302
+ 2
1303
+ 15
1304
+ 13
1305
+ 7
1306
+ 8
1307
+ 5
1308
+ 48
1309
+ 9
1310
+ 49
1311
+ 8
1312
+ 0
1313
+ 49
1314
+ 7
1315
+ 2
1316
+ 15
1317
+ 49
1318
+ 10
1319
+ 1
1320
+ 38
1321
+ 11
1322
+ 11
1323
+ I
1324
+ 5
1325
+ I
1326
+ 0
1327
+ I
1328
+ 0
1329
+ I
1330
+ 0
1331
+ n
1332
+ p
1333
+ 12
1334
+ x
1335
+ 11
1336
+ AccessToken
1337
+ n
1338
+ x
1339
+ 4
1340
+ Hash
1341
+ x
1342
+ 16
1343
+ new_from_literal
1344
+ x
1345
+ 14
1346
+ application_id
1347
+ x
1348
+ 6
1349
+ client
1350
+ x
1351
+ 3
1352
+ uid
1353
+ x
1354
+ 3
1355
+ []=
1356
+ x
1357
+ 17
1358
+ resource_owner_id
1359
+ x
1360
+ 5
1361
+ grant
1362
+ x
1363
+ 7
1364
+ create!
1365
+ x
1366
+ 13
1367
+ @access_token
1368
+ p
1369
+ 13
1370
+ I
1371
+ -1
1372
+ I
1373
+ 3d
1374
+ I
1375
+ 0
1376
+ I
1377
+ 3e
1378
+ I
1379
+ 3
1380
+ I
1381
+ 41
1382
+ I
1383
+ b
1384
+ I
1385
+ 3f
1386
+ I
1387
+ 18
1388
+ I
1389
+ 40
1390
+ I
1391
+ 24
1392
+ I
1393
+ 3e
1394
+ I
1395
+ 2a
1396
+ x
1397
+ 84
1398
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1399
+ p
1400
+ 0
1401
+ x
1402
+ 19
1403
+ validate_attributes
1404
+ M
1405
+ 1
1406
+ n
1407
+ n
1408
+ x
1409
+ 19
1410
+ validate_attributes
1411
+ i
1412
+ 27
1413
+ 5
1414
+ 48
1415
+ 0
1416
+ 49
1417
+ 1
1418
+ 0
1419
+ 13
1420
+ 9
1421
+ 26
1422
+ 15
1423
+ 5
1424
+ 48
1425
+ 2
1426
+ 49
1427
+ 1
1428
+ 0
1429
+ 13
1430
+ 9
1431
+ 26
1432
+ 15
1433
+ 5
1434
+ 48
1435
+ 3
1436
+ 49
1437
+ 1
1438
+ 0
1439
+ 11
1440
+ I
1441
+ 2
1442
+ I
1443
+ 0
1444
+ I
1445
+ 0
1446
+ I
1447
+ 0
1448
+ n
1449
+ p
1450
+ 4
1451
+ x
1452
+ 4
1453
+ code
1454
+ x
1455
+ 8
1456
+ present?
1457
+ x
1458
+ 10
1459
+ grant_type
1460
+ x
1461
+ 12
1462
+ redirect_uri
1463
+ p
1464
+ 5
1465
+ I
1466
+ -1
1467
+ I
1468
+ 44
1469
+ I
1470
+ 0
1471
+ I
1472
+ 45
1473
+ I
1474
+ 1b
1475
+ x
1476
+ 84
1477
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1478
+ p
1479
+ 0
1480
+ x
1481
+ 15
1482
+ validate_client
1483
+ M
1484
+ 1
1485
+ n
1486
+ n
1487
+ x
1488
+ 15
1489
+ validate_client
1490
+ i
1491
+ 16
1492
+ 5
1493
+ 48
1494
+ 0
1495
+ 10
1496
+ 8
1497
+ 2
1498
+ 8
1499
+ 9
1500
+ 3
1501
+ 10
1502
+ 14
1503
+ 2
1504
+ 8
1505
+ 15
1506
+ 3
1507
+ 11
1508
+ I
1509
+ 1
1510
+ I
1511
+ 0
1512
+ I
1513
+ 0
1514
+ I
1515
+ 0
1516
+ n
1517
+ p
1518
+ 1
1519
+ x
1520
+ 6
1521
+ client
1522
+ p
1523
+ 5
1524
+ I
1525
+ -1
1526
+ I
1527
+ 48
1528
+ I
1529
+ 0
1530
+ I
1531
+ 49
1532
+ I
1533
+ 10
1534
+ x
1535
+ 84
1536
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1537
+ p
1538
+ 0
1539
+ x
1540
+ 14
1541
+ validate_grant
1542
+ M
1543
+ 1
1544
+ n
1545
+ n
1546
+ x
1547
+ 14
1548
+ validate_grant
1549
+ i
1550
+ 47
1551
+ 5
1552
+ 48
1553
+ 0
1554
+ 13
1555
+ 9
1556
+ 46
1557
+ 15
1558
+ 5
1559
+ 48
1560
+ 0
1561
+ 49
1562
+ 1
1563
+ 0
1564
+ 13
1565
+ 9
1566
+ 46
1567
+ 15
1568
+ 5
1569
+ 48
1570
+ 0
1571
+ 49
1572
+ 2
1573
+ 0
1574
+ 5
1575
+ 48
1576
+ 3
1577
+ 49
1578
+ 4
1579
+ 0
1580
+ 83
1581
+ 5
1582
+ 13
1583
+ 9
1584
+ 46
1585
+ 15
1586
+ 5
1587
+ 48
1588
+ 0
1589
+ 49
1590
+ 6
1591
+ 0
1592
+ 5
1593
+ 48
1594
+ 6
1595
+ 83
1596
+ 5
1597
+ 11
1598
+ I
1599
+ 2
1600
+ I
1601
+ 0
1602
+ I
1603
+ 0
1604
+ I
1605
+ 0
1606
+ n
1607
+ p
1608
+ 7
1609
+ x
1610
+ 5
1611
+ grant
1612
+ x
1613
+ 11
1614
+ accessible?
1615
+ x
1616
+ 14
1617
+ application_id
1618
+ x
1619
+ 6
1620
+ client
1621
+ x
1622
+ 2
1623
+ id
1624
+ x
1625
+ 2
1626
+ ==
1627
+ x
1628
+ 12
1629
+ redirect_uri
1630
+ p
1631
+ 5
1632
+ I
1633
+ -1
1634
+ I
1635
+ 4c
1636
+ I
1637
+ 0
1638
+ I
1639
+ 4d
1640
+ I
1641
+ 2f
1642
+ x
1643
+ 84
1644
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1645
+ p
1646
+ 0
1647
+ x
1648
+ 19
1649
+ validate_grant_type
1650
+ M
1651
+ 1
1652
+ n
1653
+ n
1654
+ x
1655
+ 19
1656
+ validate_grant_type
1657
+ i
1658
+ 9
1659
+ 5
1660
+ 48
1661
+ 0
1662
+ 7
1663
+ 1
1664
+ 64
1665
+ 83
1666
+ 2
1667
+ 11
1668
+ I
1669
+ 2
1670
+ I
1671
+ 0
1672
+ I
1673
+ 0
1674
+ I
1675
+ 0
1676
+ n
1677
+ p
1678
+ 3
1679
+ x
1680
+ 10
1681
+ grant_type
1682
+ s
1683
+ 18
1684
+ authorization_code
1685
+ x
1686
+ 2
1687
+ ==
1688
+ p
1689
+ 5
1690
+ I
1691
+ -1
1692
+ I
1693
+ 50
1694
+ I
1695
+ 0
1696
+ I
1697
+ 51
1698
+ I
1699
+ 9
1700
+ x
1701
+ 84
1702
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1703
+ p
1704
+ 0
1705
+ p
1706
+ 55
1707
+ I
1708
+ 2
1709
+ I
1710
+ 3
1711
+ I
1712
+ d
1713
+ I
1714
+ 5
1715
+ I
1716
+ 10
1717
+ I
1718
+ 6
1719
+ I
1720
+ 12
1721
+ I
1722
+ 7
1723
+ I
1724
+ 14
1725
+ I
1726
+ 8
1727
+ I
1728
+ 16
1729
+ I
1730
+ 9
1731
+ I
1732
+ 18
1733
+ I
1734
+ a
1735
+ I
1736
+ 20
1737
+ I
1738
+ d
1739
+ I
1740
+ 38
1741
+ I
1742
+ e
1743
+ I
1744
+ 50
1745
+ I
1746
+ f
1747
+ I
1748
+ 68
1749
+ I
1750
+ 10
1751
+ I
1752
+ 80
1753
+ I
1754
+ 12
1755
+ I
1756
+ 8b
1757
+ I
1758
+ 14
1759
+ I
1760
+ 99
1761
+ I
1762
+ 19
1763
+ I
1764
+ a7
1765
+ I
1766
+ 1d
1767
+ I
1768
+ b5
1769
+ I
1770
+ 23
1771
+ I
1772
+ c3
1773
+ I
1774
+ 27
1775
+ I
1776
+ d1
1777
+ I
1778
+ 2b
1779
+ I
1780
+ df
1781
+ I
1782
+ 2f
1783
+ I
1784
+ ed
1785
+ I
1786
+ 33
1787
+ I
1788
+ f1
1789
+ I
1790
+ 35
1791
+ I
1792
+ ff
1793
+ I
1794
+ 39
1795
+ I
1796
+ 10d
1797
+ I
1798
+ 3d
1799
+ I
1800
+ 11b
1801
+ I
1802
+ 44
1803
+ I
1804
+ 129
1805
+ I
1806
+ 48
1807
+ I
1808
+ 137
1809
+ I
1810
+ 4c
1811
+ I
1812
+ 145
1813
+ I
1814
+ 50
1815
+ I
1816
+ 153
1817
+ x
1818
+ 84
1819
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1820
+ p
1821
+ 0
1822
+ x
1823
+ 13
1824
+ attach_method
1825
+ p
1826
+ 3
1827
+ I
1828
+ 2
1829
+ I
1830
+ 2
1831
+ I
1832
+ 1d
1833
+ x
1834
+ 84
1835
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1836
+ p
1837
+ 0
1838
+ x
1839
+ 13
1840
+ attach_method
1841
+ p
1842
+ 3
1843
+ I
1844
+ 0
1845
+ I
1846
+ 1
1847
+ I
1848
+ 1e
1849
+ x
1850
+ 84
1851
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/access_token_request.rb
1852
+ p
1853
+ 0