![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-two-factor-auth/Model/Data/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\TwoFactorAuth\Model\Data; use Magento\Framework\Api\AbstractExtensibleObject; use Magento\TwoFactorAuth\Api\Data\AdminTokenResponseInterface; use Magento\TwoFactorAuth\Api\Data\AdminTokenResponseExtensionInterface; /** * @inheritDoc */ class AdminTokenResponse extends AbstractExtensibleObject implements AdminTokenResponseInterface { /** * @inheritDoc */ public function getUserId(): string { return (string)$this->_get(self::USER_ID); } /** * @inheritDoc */ public function setUserId(int $value): void { $this->setData(self::USER_ID, $value); } /** * @inheritDoc */ public function getMessage(): string { return (string)$this->_get(self::MESSAGE); } /** * @inheritDoc */ public function setMessage(string $value): void { $this->setData(self::MESSAGE, $value); } /** * @inheritDoc */ public function getActiveProviders(): array { return $this->_get(self::ACTIVE_PROVIDERS); } /** * @inheritDoc */ public function setActiveProviders(array $value): void { $this->setData(self::ACTIVE_PROVIDERS, $value); } /** * @inheritdoc */ public function getExtensionAttributes(): ?AdminTokenResponseExtensionInterface { return $this->_get(self::EXTENSION_ATTRIBUTES_KEY); } /** * @inheritDoc */ public function setExtensionAttributes(AdminTokenResponseExtensionInterface $extensionAttributes): void { $this->setData(self::EXTENSION_ATTRIBUTES_KEY, $extensionAttributes); } }