/**
  * @param string $flow
  * @param string $authorizationUrl
  * @param string $tokenUrl
  * @param \WoohooLabs\SpecGenerator\Swagger2\Security\Scopes $scopes
  */
 public function __construct($flow = null, $authorizationUrl = null, $tokenUrl = null, Scopes $scopes = null)
 {
     parent::__construct("oauth2");
     $this->flow = $flow;
     $this->authorizationUrl = $authorizationUrl;
     $this->tokenUrl = $tokenUrl;
     $this->scopes = $scopes;
 }
 /**
  * @param string $name
  * @param string $in
  */
 public function __construct($name = null, $in = null)
 {
     parent::__construct("apiKey");
     $this->name = $name;
     $this->in = $in;
 }
 public function __construct()
 {
     parent::__construct("basic");
 }