File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -586,25 +586,31 @@ module OrmInstantiation {
586
586
587
587
/**
588
588
* A data-flow node that may set or unset Cross-site request forgery protection.
589
- * `getVerificationSetting() = false` corresponds to disabling verification.
590
589
*
591
590
* Extend this class to refine existing API models. If you want to model new APIs,
592
591
* extend `CSRFProtectionSetting::Range` instead.
593
592
*/
594
593
class CSRFProtectionSetting extends DataFlow:: Node instanceof CSRFProtectionSetting:: Range {
594
+ /**
595
+ * Gets the boolean value corresponding to if CSRF protection is enabled
596
+ * (`true`) or disabled (`false`) by this node.
597
+ */
595
598
boolean getVerificationSetting ( ) { result = super .getVerificationSetting ( ) }
596
599
}
597
600
598
601
/** Provides a class for modeling new CSRF protection setting APIs. */
599
602
module CSRFProtectionSetting {
600
603
/**
601
604
* A data-flow node that may set or unset Cross-site request forgery protection.
602
- * `getVerificationSetting() = false` corresponds to disabling verification.
603
605
*
604
606
* Extend this class to model new APIs. If you want to refine existing API models,
605
607
* extend `CSRFProtectionSetting` instead.
606
608
*/
607
609
abstract class Range extends DataFlow:: Node {
610
+ /**
611
+ * Gets the boolean value corresponding to if CSRF protection is enabled
612
+ * (`true`) or disabled (`false`) by this node.
613
+ */
608
614
abstract boolean getVerificationSetting ( ) ;
609
615
}
610
616
}
You can’t perform that action at this time.
0 commit comments