Class

AuthenticationService

Package: PHPBoost\User\authentication Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2018 04 10 Since: PHPBoost 3.0 - 2010 11 28 Contributor: Kevin MASSY reidlos@phpboost.com Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: phpboost/user/authentication/AuthenticationService.class.php

This class manages the authentication mecanism. Several authentication methods could be used. If the authentication by the selected method successful, the user session is started.

Methods summary
public static
# associate( AuthenticationMethod $authentication, integer $user_id )

associate the current authentication method with the given user_id.

public static
# dissociate( AuthenticationMethod $authentication, integer $user_id )

dissociate the current authentication method with the given user_id.

public static integer
# authenticate( AuthenticationMethod $authentication, boolean $autoconnect = false )

Tries to authenticate the user using the given authentication method.

public static
public static
public static
public static
Annonces