brokeyourbike/termii-api-client-php

View on GitHub
src/Interfaces/OtpConfigInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.

namespace BrokeYourBike\Termii\Interfaces;

use BrokeYourBike\Termii\Enums\PinTypeEnum;
use BrokeYourBike\Termii\Enums\MessageTypeEnum;
use BrokeYourBike\Termii\Enums\ChannelTypeEnum;

/**
 * @author Ivan Stasiuk <ivan@stasi.uk>
 */
interface OtpConfigInterface
{
    public function getFrom(): string;
    public function getChannelType(): ChannelTypeEnum;
    public function getMessageType(): MessageTypeEnum;
    public function getPinType(): PinTypeEnum;
    public function getPinAttempts(): int;
    public function getPinTtlMinutes(): int;
    public function getPinLength(): int;
    public function getPinPlaceholder(): string;
    public function getPinMessage(): string;
}