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
* about how to handle the third party cookies inherent in `iframe` resource
* placements, with people leaning towards partitioned cookies (the
* Chrome/Firefox solution), but referencing the pain of getting a working
* work-around for Safari.
*/
<?phpdeclare(strict_types=1);
namespaceGrotonSchool\SlimLTI\GAE\Infrastructure;
usePackback\Lti1p3\Interfaces\ICookie;
/** * @see https://github.com/packbackbooks/lti-1-3-php-library/wiki/Laravel-Implementation-Guide#cookie Working from Packback's wiki example * * FIXME Third party cookie restrictions * There has been * [some discussion](https://stackoverflow.com/a/67688369/294171) * about how to handle the third party cookies inherent in `iframe` resource * placements, with people leaning towards partitioned cookies (the * Chrome/Firefox solution), but referencing the pain of getting a working * work-around for Safari. */class Cookie implements ICookie
{
publicfunctiongetCookie(string$name): ?string
{
return$_COOKIE[$name];
}
publicfunctionsetCookie(
string$name,
string$value,
int$exp = 3600,
array$options = []
): void {
setcookie($name, $value, $exp, ...$options);
}
}
The text was updated successfully, but these errors were encountered:
There has been
[some discussion](https://stackoverflow\.com/a/67688369/294171\)
about how to handle the third party cookies inherent in `iframe` resource
placements, with people leaning towards partitioned cookies (the
Chrome/Firefox solution), but referencing the pain of getting a working
work-around for Safari.
lti/packages/slim-lti-gae-shim/src/Infrastructure/Cookie.php
Lines 12 to 19 in b436eea
The text was updated successfully, but these errors were encountered: