SecurityDataCollector::getUser()

string getUser() Gets the user. Return Value string The user

SecurityDataCollector::getRoles()

array getRoles() Gets the roles of the user. Return Value array The roles

SecurityDataCollector::getLogoutUrl()

string getLogoutUrl() Get the provider key (i.e. the name of the active firewall). Return Value string The provider key

SecurityDataCollector::getName()

string getName() Returns the name of the collector. Return Value string The collector name

SecurityDataCollector::getVoterStrategy()

string getVoterStrategy() Returns the strategy configured for the security voters. Return Value string

SecurityDataCollector::getTokenClass()

string getTokenClass() Get the class name of the security token. Return Value string The token

SecurityDataCollector::getInheritedRoles()

array getInheritedRoles() Gets the inherited roles of the user. Return Value array The inherited roles

SecurityDataCollector

class SecurityDataCollector extends DataCollector SecurityDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector __construct(TokenStorageInterface $tokenStorage = null, RoleHierarchyInterface $roleHierarchy = null, LogoutUrlGenerator $logoutUrlGenerator = null, AccessDecisionManagerInterface $accessDecisionManager = null) Constructor. collect(Request $request, Response $response, Exception $exception = null) Collects data for the given

SecurityDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

SecurityDataCollector::getAccessDecisionLog()

array getAccessDecisionLog() Returns the log of the security decisions made by the access decision manager. Return Value array