Interface SecurityRequirement

All Superinterfaces:
OpenAPIObject

public interface SecurityRequirement extends OpenAPIObject
A Security requirement is an object that contains the names of the security schemes that apply to the operation. Each name has a list of scopes that apply to the operation.
Author:
Paulo Lopes
  • Method Details

    • size

      int size()
      How many requirements are present
      Returns:
      size
    • getNames

      Set<String> getNames()
      Return the name at a given index
      Returns:
      name
    • getScopes

      List<String> getScopes(String name)
      Return the scopes for a given name
      Returns:
      name
    • isEmpty

      boolean isEmpty()