/**
  * @param string $type
  */
 public function __construct($type)
 {
     Assert::inArray($type, [self::TYPE_SP, self::TYPE_IDP]);
     $this->type = $type;
 }