AuthModel constructor
- @JsonSerializable(explicitToJson: true, anyMap: true)
- required APIAuthType type,
- AuthApiKeyModel? apikey,
- AuthBearerModel? bearer,
- AuthBasicAuthModel? basic,
- AuthJwtModel? jwt,
- AuthDigestModel? digest,
Implementation
@JsonSerializable(explicitToJson: true, anyMap: true)
const factory AuthModel({
required APIAuthType type,
AuthApiKeyModel? apikey,
AuthBearerModel? bearer,
AuthBasicAuthModel? basic,
AuthJwtModel? jwt,
AuthDigestModel? digest,
}) = _AuthModel;