aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/spomky-labs/otphp/src/FactoryInterface.php
blob: dd14e45f91ad940e47db7bbb63823f6536fc4462 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                      

                                   


                                                                              
<?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.
     *
     * @param non-empty-string $uri
     */
    public static function loadFromProvisioningUri(string $uri): OTPInterface;
}