You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- saved from url=(0026)http://www.naturaldocs.org -->
10
+
11
+
12
+
13
+
14
+
<divid=Index><divclass=IPageTitle>File Index</div><divclass=INavigationBar>$#! · 0-9 · A · B · <ahref="#C">C</a> · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z</div><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=IHeadingid=IFirstHeading><aname="C"></a>C</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#csrfprotector.php" class=ISymbol>csrfprotector.php</a></td></tr></table>
15
+
<!--START_ND_TOOLTIPS-->
16
+
<!--END_ND_TOOLTIPS-->
17
+
18
+
</div><!--Index-->
19
+
20
+
21
+
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
10
+
11
+
12
+
13
+
14
+
<divid=Index><divclass=IPageTitle>Function Index</div><divclass=INavigationBar>$#! · 0-9 · <ahref="#A">A</a> · B · <ahref="#C">C</a> · D · E · <ahref="#F">F</a> · <ahref="#G">G</a> · H · <ahref="#I">I</a> · J · K · <ahref="#L">L</a> · M · N · <ahref="#O">O</a> · P · Q · <ahref="#R">R</a> · S · T · <ahref="#U">U</a> · V · W · X · Y · Z</div><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=IHeadingid=IFirstHeading><aname="A"></a>A</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#authorisePost" id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>authorisePost</a></td></tr><tr><tdclass=IHeading><aname="C"></a>C</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#createNewJsCache" id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>createNewJsCache</a></td></tr><tr><tdclass=IHeading><aname="F"></a>F</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#failedValidationAction" id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=ISymbol>failedValidationAction</a></td></tr><tr><tdclass=IHeading><aname="G"></a>G</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IFirstSymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#generateAuthToken" id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=ISymbol>generateAuthToken</a></td></tr><tr><tdclass=ISymbolPrefixid=ILastSymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#getCurrentUrl" id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" class=ISymbol>getCurrentUrl</a></td></tr><tr><tdclass=IHeading><aname="I"></a>I</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IFirstSymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#init" id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" class=ISymbol>init</a></td></tr><tr><tdclass=ISymbolPrefixid=ILastSymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#isURLallowed" id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>isURLallowed</a></td></tr><tr><tdclass=IHeading><aname="L"></a>L</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#logCSRFattack" id=link8onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>logCSRFattack</a></td></tr><tr><tdclass=IHeading><aname="O"></a>O</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#ob_handler" id=link9onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=ISymbol>ob_handler</a></td></tr><tr><tdclass=IHeading><aname="R"></a>R</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#refreshToken" id=link10onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=ISymbol>refreshToken</a></td></tr><tr><tdclass=IHeading><aname="U"></a>U</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><ahref="../files/libs/csrf/csrfprotector-php.html#useCachedVersion" id=link11onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=ISymbol>useCachedVersion</a></td></tr></table>
15
+
<!--START_ND_TOOLTIPS-->
16
+
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">public static function authorisePost()</td></tr></table></blockquote>function to authorise incoming post requests</div></div><!--END_ND_TOOLTIPS-->
17
+
18
+
19
+
<!--START_ND_TOOLTIPS-->
20
+
<divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">public static function createNewJsCache()</td></tr></table></blockquote>Function to create new cache version of js</div></div><!--END_ND_TOOLTIPS-->
21
+
22
+
23
+
<!--START_ND_TOOLTIPS-->
24
+
<divclass=CToolTipid="tt3"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">private static function failedValidationAction()</td></tr></table></blockquote>function to be called in case of failed validation performs logging and take appropriate action</div></div><!--END_ND_TOOLTIPS-->
25
+
26
+
27
+
<!--START_ND_TOOLTIPS-->
28
+
<divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">public static function generateAuthToken()</td></tr></table></blockquote>function to generate random hash of length as given in parameter max length = 128</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">private static function getCurrentUrl()</td></tr></table></blockquote>Function to return current url of executing page</div></div><!--END_ND_TOOLTIPS-->
29
+
30
+
31
+
<!--START_ND_TOOLTIPS-->
32
+
<divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>public static function init(</td><tdclass="PParameter prettyprint " nowrap>$length</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint " width=100%> null,</td></tr><tr><td></td><tdclass="PParameter prettyprint " nowrap>$action</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint " width=100%> null</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>function to initialise the csrfProtector work flow</div></div><divclass=CToolTipid="tt7"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">public static function isURLallowed()</td></tr></table></blockquote>Function to check if a url mataches for any urls Listed in config file</div></div><!--END_ND_TOOLTIPS-->
33
+
34
+
35
+
<!--START_ND_TOOLTIPS-->
36
+
<divclass=CToolTipid="tt8"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">private static function logCSRFattack()</td></tr></table></blockquote>Functio to log CSRF Attack</div></div><!--END_ND_TOOLTIPS-->
37
+
38
+
39
+
<!--START_ND_TOOLTIPS-->
40
+
<divclass=CToolTipid="tt9"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>public static function ob_handler(</td><tdclass="PParameter prettyprint " nowrap>$buffer,</td></tr><tr><td></td><tdclass="PParameter prettyprint " nowrap>$flags</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Rewrites form on the fly to add CSRF tokens to them. </div></div><!--END_ND_TOOLTIPS-->
41
+
42
+
43
+
<!--START_ND_TOOLTIPS-->
44
+
<divclass=CToolTipid="tt10"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">public static function refreshToken()</td></tr></table></blockquote>Function to set auth cookie</div></div><!--END_ND_TOOLTIPS-->
45
+
46
+
47
+
<!--START_ND_TOOLTIPS-->
48
+
<divclass=CToolTipid="tt11"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">public static function useCachedVersion()</td></tr></table></blockquote>function to check weather to use cached version of js file or not</div></div><!--END_ND_TOOLTIPS-->
49
+
50
+
</div><!--Index-->
51
+
52
+
53
+
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
0 commit comments