OpenApiV31HttpSecurityScheme class final

An HTTP authentication scheme for the Authorization header.

Inheritance

Constructors

OpenApiV31HttpSecurityScheme({required String scheme, String? bearerFormat, String? description, Map<String, JsonValue> extensions = const {}, Map<String, JsonValue> extraFields = const {}})
Uses the HTTP authentication scheme named by scheme.

Properties

bearerFormat → String?
Format hint for bearer tokens.
final
description → String?
Description supplied by the document author.
final
extensions → Map<String, JsonValue>
Specification extensions keyed by their x- names. Defaults to empty.
finalinherited
extraFields → Map<String, JsonValue>
Unrecognized fields retained for JSON export. Defaults to empty.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheme → String
HTTP authentication scheme name.
final
type → OpenApiV31SecuritySchemeType
Discriminator for the authentication mechanism.
no setteroverride

Methods

extraToJson() → Map<String, Object?>
Exports extensions and unrecognized fields as JSON.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Returns a detached JSON representation.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited