Initialised composer, started prototyping.
This commit is contained in:
20
src/ClientInterface.php
Normal file
20
src/ClientInterface.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Toloka\PhpApi;
|
||||
|
||||
interface ClientInterface {
|
||||
|
||||
/**
|
||||
* Login using credentials.
|
||||
*
|
||||
* @param string $login
|
||||
*
|
||||
* @param string $password
|
||||
*
|
||||
* @throws InvalidAuthCredentials
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function login(string $login, string $password): void;
|
||||
|
||||
}
|
Reference in New Issue
Block a user