PHP Class RainLab\User\Classes\AuthManager

Inheritance: extends October\Rain\Auth\Manager
ファイルを表示 Open project: rainlab/user-plugin Class Usage Examples

Protected Properties

Property Type Description
$groupModel
$instance
$sessionKey
$throttleModel
$userModel

Public Methods

Method Description
convertGuestToUser ( Models\User $user, array $credentials, boolean $activate = false ) : Models\User Converts a guest user to a registered user.
extendUserQuery ( $query ) {@inheritDoc}
findGuestUser ( $email )
findGuestUserByCredentials ( array $credentials )
init ( )
login ( $user, $remember = true ) {@inheritDoc}
register ( array $credentials, $activate = false ) {@inheritDoc}
registerGuest ( array $credentials ) : Models\User Registers a guest user by giving the required credentials.

Method Details

convertGuestToUser() public method

Converts a guest user to a registered user.
public convertGuestToUser ( Models\User $user, array $credentials, boolean $activate = false ) : Models\User
$user Models\User
$credentials array
$activate boolean
return Models\User

extendUserQuery() public method

{@inheritDoc}
public extendUserQuery ( $query )

findGuestUser() public method

public findGuestUser ( $email )

findGuestUserByCredentials() public method

public findGuestUserByCredentials ( array $credentials )
$credentials array

init() public method

public init ( )

login() public method

{@inheritDoc}
public login ( $user, $remember = true )

register() public method

{@inheritDoc}
public register ( array $credentials, $activate = false )
$credentials array

registerGuest() public method

Registers a guest user by giving the required credentials.
public registerGuest ( array $credentials ) : Models\User
$credentials array
return Models\User

Property Details

$groupModel protected_oe property

protected $groupModel

$instance protected_oe static_oe property

protected static $instance

$sessionKey protected_oe property

protected $sessionKey

$throttleModel protected_oe property

protected $throttleModel

$userModel protected_oe property

protected $userModel