![]() 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/Api/Data/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\TwoFactorAuth\Api\Data; use Magento\Framework\Api\ExtensibleDataInterface; /** * Represents the data needed to use duo * * @api */ interface DuoDataInterface extends ExtensibleDataInterface { /** * Signature field name */ public const SIGNATURE = 'signature'; /** * Api host field name */ public const API_HOSTNAME = 'api_hostname'; /** * Get the signature * * @return string */ public function getSignature(): string; /** * Set the signature * * @param string $value * @return void */ public function setSignature(string $value): void; /** * Get the api hostname * * @return string */ public function getApiHostname(): string; /** * Set the api hostname * * @param string $value * @return void */ public function setApiHostname(string $value): void; /** * Retrieve existing extension attributes object or create a new one * * Used fully qualified namespaces in annotations for proper work of extension interface/class code generation * * @return \Magento\TwoFactorAuth\Api\Data\DuoDataExtensionInterface|null */ public function getExtensionAttributes(): ?DuoDataExtensionInterface; /** * Set an extension attributes object * * @param \Magento\TwoFactorAuth\Api\Data\DuoDataExtensionInterface $extensionAttributes * @return void */ public function setExtensionAttributes( DuoDataExtensionInterface $extensionAttributes ): void; }