You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
627 B

<?php
namespace app\core\contract;
interface Authentication {
const KEY = 'logged_in';
public static function login(array $userData): bool;
public static function logout();
public static function auth(): array;
public static function isAuth(): bool;
public static function isFirstLogin(): bool;
public static function isRemembered(): bool;
public static function isBoUser(): bool;
public static function isFOUser(): bool;
public static function isLoggedInAsSubscriber(): bool;
public static function isLoggedBySSO(): bool;
public static function isPremium(): bool;
}