public function __construct(PrincipalInterface $principal, string $credential) { $this->principal = $principal; $this->credential = $credential; }