Debian Codegraph @

vendor/spomky-labs/otphp/src/FactoryInterface.php

raw
1 <?php
2
3 declare(strict_types=1);
4
5 namespace OTPHP;
6
7 use Psr\Clock\ClockInterface;
8
9 interface FactoryInterface
10 {
11 /**
12 * This method is the unique public method of the class. It can load a provisioning Uri and convert it into an OTP
13 * object.
14 *
15 * @param non-empty-string $uri
16 */
17 public static function loadFromProvisioningUri(string $uri, ?ClockInterface $clock = null): OTPInterface;
18 }