interface PermissionsHashGeneratorInterface (View source)

Defines the user permissions hash generator interface.

Methods

string
generate(AccountInterface $account)

Generates a hash that uniquely identifies a user's permissions.

Details

string generate(AccountInterface $account)

Generates a hash that uniquely identifies a user's permissions.

Parameters

AccountInterface $account

The user account for which to get the permissions hash.

Return Value

string

A permissions hash.