src/Graviton/SecurityBundle/Tests/Authentication/SecurityAuthenticatorTest.php 1 location
|
@@ 80-89 (lines=10) @@
|
| 77 |
|
/** |
| 78 |
|
* @return array<string> |
| 79 |
|
*/ |
| 80 |
|
public function stringProvider() |
| 81 |
|
{ |
| 82 |
|
return array( |
| 83 |
|
'plain string, no special chars' => array('exampleAuthenticationHeader'), |
| 84 |
|
'string with special chars' => array("$-_.+!*'(),{}|\\^~[]`<>#%;/?:@&=."), |
| 85 |
|
'string with octal chars' => array("a: \141, A: \101"), |
| 86 |
|
'string with hex chars' => array("a: \x61, A: \x41"), |
| 87 |
|
'live example' => array("10N0000188"), |
| 88 |
|
); |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
/** |
| 92 |
|
* @return void |
src/Graviton/SecurityBundle/Tests/Authentication/Strategies/CookieFieldStrategyTest.php 1 location
|
@@ 62-70 (lines=9) @@
|
| 59 |
|
/** |
| 60 |
|
* @return array<string> |
| 61 |
|
*/ |
| 62 |
|
public function stringProvider() |
| 63 |
|
{ |
| 64 |
|
return array( |
| 65 |
|
'plain string, no special chars' => array('exampleAuthenticationHeader'), |
| 66 |
|
'string with special chars' => array("$-_.+!*'(),{}|\\^~[]`<>#%;/?:@&=."), |
| 67 |
|
'string with octal chars' => array("a: \141, A: \101"), |
| 68 |
|
'string with hex chars' => array("a: \x61, A: \x41") |
| 69 |
|
); |
| 70 |
|
} |
| 71 |
|
} |
| 72 |
|
|
src/Graviton/SecurityBundle/Tests/Authentication/Strategies/HeaderFieldStrategyTest.php 1 location
|
@@ 58-66 (lines=9) @@
|
| 55 |
|
/** |
| 56 |
|
* @return array<string> |
| 57 |
|
*/ |
| 58 |
|
public function stringProvider() |
| 59 |
|
{ |
| 60 |
|
return array( |
| 61 |
|
'plain string, no special chars' => array('exampleAuthenticationHeader'), |
| 62 |
|
'string with special chars' => array("$-_.+!*'(),{}|\\^~[]`<>#%;/?:@&=."), |
| 63 |
|
'string with octal chars' => array("a: \141, A: \101"), |
| 64 |
|
'string with hex chars' => array("a: \x61, A: \x41") |
| 65 |
|
); |
| 66 |
|
} |
| 67 |
|
} |
| 68 |
|
|