Namespaces
Salient
Cache
Cli
Collection
Console
Container
Contract
Cache
Collection
Console
Container
Core
Curler
Http
Exception
Message
Iterator
Polyfill
Sync
Core
Curler
Http
Iterator
PHPDoc
Polyfill
Sync
Testing
Utility
Interfaces
CredentialInterface
HasFormDataFlag
HasHttpHeader
HasHttpHeaders
HasMediaType
HasRequestMethod
HeadersInterface
OneTimePasswordGeneratorInterface
UriInterface
Overview
Namespace
Interface
Tree
1:
<?php
declare
(strict_types=
1
);
2:
3:
namespace
Salient\Contract\Http;
4:
5:
/**
6:
* @api
7:
*/
8:
interface
OneTimePasswordGeneratorInterface
9:
{
10:
/**
11:
* @param string $key Base32-encoded shared key.
12:
*/
13:
public
function
getPassword(string
$key
): string;
14:
}
15: