phalconplus Documentation v1.2.0
Class
Class PhalconPlus Contracts Auth

# UserProvider

        namespace PhalconPlus\Contracts\Auth;
    use Phalcon\Mvc\Model;

    interface UserProvider
    {
        // public function getById() -> ;
        // public function getByToken(string token) -> ;
        // public function getByCredentials(array credentials) -> ;
        // public function validateCredentials( user, array credentials) -> bool;

        public function getRole() -> string;
        public function getName() -> string;
        public function getIdName() -> string;
        public function getUsernameName() -> string;
    }