Class humhub\modules\user\authclient\Password

Inheritancehumhub\modules\user\authclient\Password » humhub\modules\user\authclient\BaseFormAuth » humhub\modules\user\authclient\BaseClient » yii\authclient\BaseClient
Implementshumhub\modules\user\authclient\interfaces\PrimaryClient
Available since version1.1

Standard password authentication client

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$login humhub\modules\user\models\forms\Login The login form model humhub\modules\user\authclient\BaseFormAuth

Public Methods

Hide inherited methods

MethodDescriptionDefined By
auth() Authenticate the user using the login form. humhub\modules\user\authclient\Password
getId() humhub\modules\user\authclient\Password
getUser() Returns the user model of this auth client humhub\modules\user\authclient\Password

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_CREATE_USER \humhub\modules\user\authclient\Event An event raised on create user. humhub\modules\user\authclient\BaseClient
EVENT_UPDATE_USER \humhub\modules\user\authclient\Event An event raised on update user data. humhub\modules\user\authclient\BaseClient

Method Details

auth() public method

Authenticate the user using the login form.

public void auth ( )
throws \yii\base\NotSupportedException
defaultName() protected method

protected void defaultName ( )
defaultTitle() protected method

protected void defaultTitle ( )
getId() public method

public void getId ( )
getUser() public method

Returns the user model of this auth client

public humhub\modules\user\models\User getUser ( )