protected function separateActiveAndInactiveTokens()
{
if ($this->request === null) {
return;
}
/** @var $token TokenInterface */
foreach ($this->tokens as $token) {
if ($this->isTokenActive($token)) {
$this->activeTokens[$token->getAuthenticationProviderName()] = $token;
} else {
$this->inactiveTokens[$token->getAuthenticationProviderName()] = $token;
}
}
}