PHP Class eZ\Publish\Core\MVC\Symfony\Security\User\HashGenerator

Deprecation: since 5.4. Will be removed in 6.0. Use FOSHttpCacheBundle user context feature instead.
Inheritance: implements eZ\Publish\SPI\HashGenerator, implements eZ\Publish\SPI\User\IdentityAware, implements FOS\HttpCache\UserContext\ContextProviderInterface
显示文件 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$identityDefiners eZ\Publish\SPI\User\IdentityAware[]
$userIdentity eZ\Publish\SPI\User\Identity

Public Methods

Method Description
generate ( ) : string Generates the user hash.
getIdentity ( ) : eZ\Publish\SPI\User\Identity
getIdentityDefiners ( ) : eZ\Publish\SPI\User\IdentityAware[]
setIdentity ( eZ\Publish\SPI\User\Identity $identity )
setIdentityDefiner ( eZ\Publish\SPI\User\IdentityAware $identityDefiner )
updateUserContext ( FOS\HttpCache\UserContext\UserContext $context )

Method Details

generate() public method

Generates the user hash.
public generate ( ) : string
return string

getIdentity() public method

public getIdentity ( ) : eZ\Publish\SPI\User\Identity
return eZ\Publish\SPI\User\Identity

getIdentityDefiners() public method

public getIdentityDefiners ( ) : eZ\Publish\SPI\User\IdentityAware[]
return eZ\Publish\SPI\User\IdentityAware[]

setIdentity() public method

public setIdentity ( eZ\Publish\SPI\User\Identity $identity )
$identity eZ\Publish\SPI\User\Identity

setIdentityDefiner() public method

public setIdentityDefiner ( eZ\Publish\SPI\User\IdentityAware $identityDefiner )
$identityDefiner eZ\Publish\SPI\User\IdentityAware

updateUserContext() public method

public updateUserContext ( FOS\HttpCache\UserContext\UserContext $context )
$context FOS\HttpCache\UserContext\UserContext

Property Details

$identityDefiners protected_oe property

protected IdentityAware[],eZ\Publish\SPI\User $identityDefiners
return eZ\Publish\SPI\User\IdentityAware[]

$userIdentity protected_oe property

protected Identity,eZ\Publish\SPI\User $userIdentity
return eZ\Publish\SPI\User\Identity