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 )
Inheritance: implements eZ\Publish\Core\MVC\Symfony\Security\UserInterface, implements Symfony\Component\Security\Core\User\EquatableInterface
Exibir arquivo Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Security\Core\User\UserInterface $wrappedUser, eZ\Publish\API\Repository\Values\User\User $apiUser )
__toString ( )
eraseCredentials ( )
getAPIUser ( ) : eZ\Publish\API\Repository\Values\User\User
getPassword ( )
getRoles ( )
getSalt ( )
getUsername ( )
getWrappedUser ( ) : Symfony\Component\Security\Core\User\UserInterface
isAccountNonExpired ( )
isAccountNonLocked ( )
isCredentialsNonExpired ( )
isEnabled ( )
isEqualTo ( Symfony\Component\Security\Core\User\UserInterface $user )
setAPIUser ( eZ\Publish\API\Repository\Values\User\User $apiUser )
setWrappedUser ( Symfony\Component\Security\Core\User\UserInterface $wrappedUser )

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

public __toString ( )

eraseCredentials() public method

public eraseCredentials ( )

getAPIUser() public method

public getAPIUser ( ) : eZ\Publish\API\Repository\Values\User\User
return eZ\Publish\API\Repository\Values\User\User

getPassword() public method

public getPassword ( )

getRoles() public method

public getRoles ( )

getSalt() public method

public getSalt ( )

getUsername() public method

public getUsername ( )

getWrappedUser() public method

public getWrappedUser ( ) : Symfony\Component\Security\Core\User\UserInterface
return Symfony\Component\Security\Core\User\UserInterface

isAccountNonExpired() public method

public isAccountNonExpired ( )

isAccountNonLocked() public method

public isAccountNonLocked ( )

isCredentialsNonExpired() public method

isEnabled() public method

public isEnabled ( )

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