token = $token; $this->encodingAESKey = $encodingAESKey; $this->unionId = $unionId; } /** * @param array $map * @return static */ public static function parse(array $map): static { return new static($map['token'], $map['secret'], $map['unionId'] ?? ''); } }