public __construct ( string $firewallKey, |
||
$firewallKey | string | Name of the current firewall. |
$firewallConfig | Firewall config. | |
$userProviders | array | Array of user providers for this firewall. |
$encoder | Instance of encoder for this firewall. |
public function __construct($firewallKey, ConfigObject $firewallConfig, array $userProviders, Encoder $encoder)
{
$this->firewallKey = $firewallKey;
$this->config = $firewallConfig;
$this->userProviders = $userProviders;
$this->encoder = $encoder;
$this->initToken();
}