Wikimedia SlimApp
Common classes to help with creating an application using the Slim micro framework and Twig template engine.
Loading...
Searching...
No Matches
Wikimedia\Slimapp\Auth\UserData Interface Reference

Basic user information. More...

Public Member Functions

 getId ()
 Get user's unique numeric id.
 
 getPassword ()
 Get user's password.
 
 isBlocked ()
 Is this user blocked from logging into the application?
 

Detailed Description

Basic user information.

Implementations must be serializable.

Member Function Documentation

◆ getId()

Wikimedia\Slimapp\Auth\UserData::getId ( )

Get user's unique numeric id.

Returns
int

◆ getPassword()

Wikimedia\Slimapp\Auth\UserData::getPassword ( )

Get user's password.

Returns
string

◆ isBlocked()

Wikimedia\Slimapp\Auth\UserData::isBlocked ( )

Is this user blocked from logging into the application?

Returns
bool True if user should not be allowed to log in to the application, false otherwise

The documentation for this interface was generated from the following file: