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