user = $user; $this->password = $password; $this->isTokenLogin = $isTokenLogin; $this->loginName = $loginName; } /** * @since 18.0.0 */ public function getUser(): IUser { return $this->user; } /** * @since 31.0.0 */ public function getUid(): string { return $this->user->getUID(); } /** * @since 21.0.0 */ public function getLoginName(): string { return $this->loginName; } /** * @since 18.0.0 */ public function getPassword(): ?string { return $this->password; } /** * @since 18.0.0 */ public function isTokenLogin(): bool { return $this->isTokenLogin; } }