/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Jwt/ClaimInterface.php
51 строка
803 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2021 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Framework\Jwt; /** * JWT Claim. */ interface ClaimInterface { public const CLASS_REGISTERED = 1; public const CLASS_PUBLIC = 2; public const CLASS_PRIVATE = 3; /** * Claim name. * * @return string */ public function getName(): string; /** * Value carried. * * @return mixed */ public function getValue(); /** * Claim class when possible to identify. * * @return int|null */ public function getClass(): ?int; /** * Whether to duplicate this claim to JOSE header. * * Only works for JWEs. * * @return bool */ public function isHeaderDuplicated(): bool; }