securityDefinitions property

List<SecurityScheme> securityDefinitions

The computed List of SecuritySchemes associated with this form.

The list is derived from the _thingDescription and the security keys defined for the form.

Implementation

List<SecurityScheme> get securityDefinitions =>
    _thingDescription.securityDefinitions.entries
        .where(
          (securityDefinition) => security.contains(securityDefinition.key),
        )
        .map((securityDefinition) => securityDefinition.value)
        .toList();