Spamworldpro Mini Shell
Spamworldpro


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-two-factor-auth/Api/ProviderInterface.php
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\TwoFactorAuth\Api;

/**
 * 2FA provider interface
 *
 * @api
 */
interface ProviderInterface
{
    /**
     * Return true if this provider has been enabled by admin
     *
     * @return bool
     */
    public function isEnabled(): bool;

    /**
     * Get provider engine
     *
     * @return \Magento\TwoFactorAuth\Api\EngineInterface
     */
    public function getEngine();

    /**
     * Get provider code
     *
     * @return string
     */
    public function getCode(): string;

    /**
     * Get provider name
     *
     * @return string
     */
    public function getName(): string;

    /**
     * Get icon
     *
     * @return string
     */
    public function getIcon(): string;

    /**
     * Return true if this provider configuration can be reset
     *
     * @return bool
     */
    public function isResetAllowed(): bool;

    /**
     * Reset provider configuration
     *
     * @param int $userId
     * @return void
     */
    public function resetConfiguration(int $userId): void;

    /**
     * Return true if this provider has been configured
     *
     * @param int $userId
     * @return bool
     */
    public function isConfigured(int $userId): bool;

    /**
     * Return true if current provider has been activated
     *
     * @param int $userId
     * @return bool
     */
    public function isActive(int $userId): bool;

    /**
     * Activate provider
     *
     * @param int $userId
     * @return void
     */
    public function activate(int $userId): void;

    /**
     * Get configure action
     *
     * @return string
     */
    public function getConfigureAction(): string;

    /**
     * Get auth action
     *
     * @return string
     */
    public function getAuthAction(): string;

    /**
     * Get allowed extra actions
     *
     * @return string[]
     */
    public function getExtraActions(): array;
}

Spamworldpro Mini