using System.Diagnostics.CodeAnalysis;
namespace gehGassi.Pwned
{
///
/// Options for and
///
///
///"Pwned": {
/// "UserAgent": "",
/// "ServiceApiUrl": "https://haveibeenpwned.com/api/",
/// "ServiceApiVersion": "2",
/// "PasswordsApiUrl": "https://api.pwnedpasswords.com"
/// }
///
[ExcludeFromCodeCoverage]
public class PwnedOptions
{
///
/// User Agent for the application.
///
public string UserAgent { get; set; }
///
/// https://haveibeenpwned.com/api/v2/{service}/{parameter}
///
public string ServiceApiUrl { get; set; } = @"https://haveibeenpwned.com/api/";
///
/// Service Api Version for Breach and Paste.
///
public string ServiceApiVersion { get; set; } = "2";
///
/// https://haveibeenpwned.com/API/v2#PwnedPasswords
///
public string PasswordsApiUrl { get; set; } = @"https://api.pwnedpasswords.com/";
}
}