security.php 432 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @SWG\SecurityScheme(
  4. * securityDefinition="api_key",
  5. * type="apiKey",
  6. * in="header",
  7. * name="api_key"
  8. * )
  9. */
  10. /**
  11. * @SWG\SecurityScheme(
  12. * securityDefinition="petstore_auth",
  13. * type="oauth2",
  14. * authorizationUrl="http://petstore.swagger.io/oauth/dialog",
  15. * flow="implicit",
  16. * scopes={
  17. * "read:pets": "read your pets",
  18. * "write:pets": "modify pets in your account"
  19. * }
  20. * )
  21. */