security.php 554 B

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