SecurityScheme.http constructor

const SecurityScheme.http({
  1. required HttpSecurityScheme scheme,
  2. String? bearerFormat,
  3. String? description,
})

Implementation

const factory SecurityScheme.http({
  /// The name of the HTTP Authorization scheme to be used in the Authorization header
  required HttpSecurityScheme scheme,

  /// A hint to the client to identify how the bearer token is formatted.
  String? bearerFormat,

  /// A description for security scheme.
  String? description,
}) = _SecuritySchemeHttp;