Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:csrfguard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:core:csrfguard [2026/09/26 09:09] – admin adminscriptlog:lib:core:csrfguard [2026/09/26 09:34] (current) – admin admin
Line 12: Line 12:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Core Class | +| ''@category'' | Core Class | 
-  | ''@author'' | Thibaut Despoulain | +| ''@author'' | Thibaut Despoulain | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 |+| ''@version'' | 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 29: Line 29:
 ======= Properties (1) ======= ======= Properties (1) =======
  
-  ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ +^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
-  | ''private static'' | ''static'' | ''$checkOrigin'' | ''false;'' | 20 |+| ''private static'' | ''static'' | ''$checkOrigin'' | ''false'' | 20 |
  
 ======= Methods (4) ======= ======= Methods (4) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public static | ''check()'' | check | 29 | +| public static | ''check()'' | check | 29 | 
-  | public static | ''generate()'' | generate | 118 | +| public static | ''generate()'' | generate | 118 | 
-  | private static | ''enableOriginCheck()'' | enableOriginCheck | 135 | +| private static | ''enableOriginCheck()'' | enableOriginCheck | 135 | 
-  | private static | ''randomString()'' | randomString | 150 |+| private static | ''randomString()'' | randomString | 150 |
  
  
Line 49: Line 49:
 //lines 29–109 (81)// //lines 29–109 (81)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$key'' | ''(untyped)'' | //required// | //none// | +|  ''$key'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$origin'' | ''(untyped)'' | //required// | //none// | +|  ''$origin'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$throwException'' | ''(untyped)'' | ''false'' | //none// | +|  ''$throwException'' |  ''(untyped)'' |  ''false'' |  //none// | 
-  | ''$timespan'' | ''(untyped)'' | ''null'' | //none// | +|  ''$timespan'' |  ''(untyped)'' |  ''null'' |  //none// | 
-  | ''$multiple'' | ''(untyped)'' | ''false'' | //none// |+|  ''$multiple'' |  ''(untyped)'' |  ''false'' |  //none// |
  
 **Returns:** ''(none declared)'' — true|false|\Exception **Returns:** ''(none declared)'' — true|false|\Exception
Line 67: Line 67:
 //lines 118–128 (11)// //lines 118–128 (11)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$key'' | ''(untyped)'' | //required// | //none// |+|  ''$key'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 98: Line 98:
 randomString randomString
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$length'' | ''(untyped)'' | //required// | //none// |+|  ''$length'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
scriptlog/lib/core/csrfguard.1790413761.txt.gz · Last modified: by admin