25 lines
653 B
C#
25 lines
653 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Pilz.Net.CloudProviders.Nextcloud.Client.LoginFlowV2.Ocs;
|
|
|
|
public class OcsResponseLoginFlowV2Credentials
|
|
{
|
|
/// <summary>
|
|
/// The server url the login credentials are for.
|
|
/// </summary>
|
|
[JsonProperty("server")]
|
|
public string? Server { get; set; }
|
|
|
|
/// <summary>
|
|
/// The login name (username or password) used for the login.
|
|
/// </summary>
|
|
[JsonProperty("loginName")]
|
|
public string? LoginName { get; set; }
|
|
|
|
/// <summary>
|
|
/// The app password that has been generated.
|
|
/// </summary>
|
|
[JsonProperty("appPassword")]
|
|
public string? AppPassword { get; set; }
|
|
}
|