io.vertx.openapi.contract

## 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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | `getNames()` Return the name at a given index
    `List<String>` | `getScopes(String name)` Return the scopes for a given name
    `boolean` | `isEmpty()`
    `int` | `size()` How many requirements are present

    - ### Methods inherited from interface io.vertx.openapi.contract.OpenAPIObject

      `getOpenAPIModel`

- - ### Method Detail

    - #### 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()

Copyright © 2024 Eclipse. All rights reserved.