PHP Class eZ\Publish\Core\MVC\Symfony\Security\UserWrapped
It's used when working with multiple user providers
It has two properties:
- wrappedUser: containing the originally matched user.
- apiUser: containing the API User (the one from the eZ Repository )
Exibir arquivo
Open project: ezsystems/ezpublish-kernel
Class Usage Examples
Public Methods
Method Details
__construct()
public method
public __construct ( Symfony\Component\Security\Core\User\UserInterface $wrappedUser, eZ\Publish\API\Repository\Values\User\User $apiUser ) |
$wrappedUser |
Symfony\Component\Security\Core\User\UserInterface |
|
$apiUser |
eZ\Publish\API\Repository\Values\User\User |
|
__toString()
public method
eraseCredentials()
public method
getAPIUser()
public method
public getAPIUser ( ) : eZ\Publish\API\Repository\Values\User\User |
return |
eZ\Publish\API\Repository\Values\User\User |
|
getPassword()
public method
getUsername()
public method
getWrappedUser()
public method
public getWrappedUser ( ) : Symfony\Component\Security\Core\User\UserInterface |
return |
Symfony\Component\Security\Core\User\UserInterface |
|
isAccountNonExpired()
public method
isAccountNonLocked()
public method
isCredentialsNonExpired()
public method
isEnabled()
public method
isEqualTo()
public method
public isEqualTo ( Symfony\Component\Security\Core\User\UserInterface $user ) |
$user |
Symfony\Component\Security\Core\User\UserInterface |
|
setAPIUser()
public method
public setAPIUser ( eZ\Publish\API\Repository\Values\User\User $apiUser ) |
$apiUser |
eZ\Publish\API\Repository\Values\User\User |
|
setWrappedUser()
public method
public setWrappedUser ( Symfony\Component\Security\Core\User\UserInterface $wrappedUser ) |
$wrappedUser |
Symfony\Component\Security\Core\User\UserInterface |
|