Started methods implementation, added login and check auth state methods. Added project license.

This commit is contained in:
conky
2022-10-16 23:44:23 +03:00
parent c6f0c7d8f7
commit 058bbfbc03
9 changed files with 137 additions and 18 deletions

View File

@@ -30,6 +30,8 @@ interface ClientInterface {
* Check if user logged in.
*
* @return bool
*
* @throws \Psr\Http\Client\ClientExceptionInterface
*/
public function isLoggedIn(): bool;
@@ -48,6 +50,8 @@ interface ClientInterface {
*
* @return TopicInterface
* Object with populated topic data.
*
* @throws \Psr\Http\Client\ClientExceptionInterface
*/
public function getTopic(int $id): TopicInterface;