aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/spomky-labs/otphp/src/FactoryInterface.php
blob: 74386adebcbdd27516a152f3963b38ec35bb4a7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

declare(strict_types=1);

namespace OTPHP;

interface FactoryInterface
{
    /**
     * This method is the unique public method of the class. It can load a provisioning Uri and convert it into an OTP
     * object.
     */
    public static function loadFromProvisioningUri(string $uri): OTPInterface;
}