AuthModel constructor

  1. @JsonSerializable(explicitToJson: true, anyMap: true)
const AuthModel({
  1. required APIAuthType type,
  2. AuthApiKeyModel? apikey,
  3. AuthBearerModel? bearer,
  4. AuthBasicAuthModel? basic,
  5. AuthJwtModel? jwt,
  6. 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;