using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
{
///
///
///
/// Undecidable from MCP: no typed structure for session.clearAuthCache parameters.
public class RemovePassword
{
///
/// When provided, the authentication info related to the origin will only be
/// removed otherwise the entire cache will be cleared.
///
public string Origin { get; set; }
///
/// Credentials of the authentication. Must be provided if removing by origin.
///
public string Password { get; set; }
///
/// Realm of the authentication. Must be provided if removing by origin.
///
public string Realm { get; set; }
///
/// Scheme of the authentication. Can be basic, digest, ntlm, negotiate.
/// Must be provided if removing by origin.
///
public Scheme Scheme { get; set; }
///
/// password.
///
public string Type { get; set; }
///
/// Credentials of the authentication. Must be provided if removing by origin.
///
public string Username { get; set; }
///
///
///
/// password.
public RemovePassword(string type)
{
Type = type;
}
}
}