Your IP : 216.73.217.13


Current Path : /home/rtorresani/www/vendor/magento/module-two-factor-auth/Api/Data/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-two-factor-auth/Api/Data/GoogleConfigureInterface.php

<?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;

/**
 * Google configuration data interface
 *
 * @api
 */
interface GoogleConfigureInterface extends ExtensibleDataInterface
{
    /**
     * QR Code base 64 field name
     */
    public const QR_CODE_BASE64 = 'qr_code_base64';

    /**
     * Secret code field name
     */
    public const SECRET_CODE = 'secret_code';

    /**
     * Get value for QR code base 64
     *
     * @return string
     */
    public function getQrCodeBase64(): string;

    /**
     * Set value for QR code base 64
     *
     * @param string $value
     * @return void
     */
    public function setQrCodeBase64(string $value): void;

    /**
     * Get value for secret code
     *
     * @return string
     */
    public function getSecretCode(): string;

    /**
     * Set value for secret code
     *
     * @param string $value
     * @return void
     */
    public function setSecretCode(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\GoogleConfigureExtensionInterface|null
     */
    public function getExtensionAttributes(): ?GoogleConfigureExtensionInterface;

    /**
     * Set an extension attributes object
     *
     * @param \Magento\TwoFactorAuth\Api\Data\GoogleConfigureExtensionInterface $extensionAttributes
     * @return void
     */
    public function setExtensionAttributes(
        GoogleConfigureExtensionInterface $extensionAttributes
    ): void;
}