PHP Class AdamWathan\EloquentOAuth\Authenticator

显示文件 Open project: adamwathan/eloquent-oauth Class Usage Examples

Protected Properties

Property Type Description
$auth
$identities
$users

Public Methods

Method Description
__construct ( $auth, $users, $identities )
login ( $providerAlias, $userDetails, $callback = null, $remember = false )

Protected Methods

Method Description
addProviderIdentity ( $user, $providerAlias, $details )
getExistingUser ( $providerAlias, $details )
getUser ( $providerAlias, $details )
runCallback ( $callback, $user, $userDetails )
storeProviderIdentity ( $user, $providerAlias, $details )
updateProviderIdentity ( $providerAlias, $details )
updateUser ( $user, $providerAlias, $details )

Method Details

__construct() public method

public __construct ( $auth, $users, $identities )

addProviderIdentity() protected method

protected addProviderIdentity ( $user, $providerAlias, $details )

getExistingUser() protected method

protected getExistingUser ( $providerAlias, $details )

getUser() protected method

protected getUser ( $providerAlias, $details )

login() public method

public login ( $providerAlias, $userDetails, $callback = null, $remember = false )

runCallback() protected method

protected runCallback ( $callback, $user, $userDetails )

storeProviderIdentity() protected method

protected storeProviderIdentity ( $user, $providerAlias, $details )

updateProviderIdentity() protected method

protected updateProviderIdentity ( $providerAlias, $details )

updateUser() protected method

protected updateUser ( $user, $providerAlias, $details )

Property Details

$auth protected_oe property

protected $auth

$identities protected_oe property

protected $identities

$users protected_oe property

protected $users