-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from xmorave2/feature/samesite
Add cookie_samesite parameter
- Loading branch information
Showing
8 changed files
with
287 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace Laminas\Session\Config; | ||
|
||
interface SameSiteCookieCapableInterface | ||
{ | ||
/** | ||
* @param string $cookieSameSite | ||
* @return self | ||
*/ | ||
public function setCookieSameSite($cookieSameSite); | ||
|
||
/** @return string */ | ||
public function getCookieSameSite(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
<?php | ||
|
||
namespace LaminasTest\Session\TestAsset; | ||
|
||
use Laminas\Session\Config\ConfigInterface; | ||
|
||
class TestConfig implements ConfigInterface | ||
{ | ||
/** | ||
* @param array $options | ||
* @return void | ||
*/ | ||
public function setOptions($options) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getOptions() | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $option | ||
* @param mixed $value | ||
* @return void | ||
*/ | ||
public function setOption($option, $value) | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $option | ||
* @return void | ||
*/ | ||
public function getOption($option) | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $option | ||
* @return void | ||
*/ | ||
public function hasOption($option) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function toArray() | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $name | ||
* @return void | ||
*/ | ||
public function setName($name) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getName() | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $savePath | ||
* @return void | ||
*/ | ||
public function setSavePath($savePath) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getSavePath() | ||
{ | ||
} | ||
|
||
/** | ||
* @param int $cookieLifetime | ||
* @return void | ||
*/ | ||
public function setCookieLifetime($cookieLifetime) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieLifetime() | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $cookiePath | ||
* @return void | ||
*/ | ||
public function setCookiePath($cookiePath) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getCookiePath() | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $cookieDomain | ||
* @return void | ||
*/ | ||
public function setCookieDomain($cookieDomain) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieDomain() | ||
{ | ||
} | ||
|
||
/** | ||
* @param bool $cookieSecure | ||
* @return void | ||
*/ | ||
public function setCookieSecure($cookieSecure) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieSecure() | ||
{ | ||
} | ||
|
||
/** | ||
* @param bool $cookieHttpOnly | ||
* @return void | ||
*/ | ||
public function setCookieHttpOnly($cookieHttpOnly) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getCookieHttpOnly() | ||
{ | ||
} | ||
|
||
/** | ||
* @param bool $useCookies | ||
* @return void | ||
*/ | ||
public function setUseCookies($useCookies) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getUseCookies() | ||
{ | ||
} | ||
|
||
/** | ||
* @param int $rememberMeSeconds | ||
* @return void | ||
*/ | ||
public function setRememberMeSeconds($rememberMeSeconds) | ||
{ | ||
} | ||
|
||
/** @return void */ | ||
public function getRememberMeSeconds() | ||
{ | ||
} | ||
} |