using System;
namespace MediaBrowser.Model.QuickConnect
{
///
/// Stores the result of an incoming quick connect request.
///
public class QuickConnectResult
{
///
/// Gets a value indicating whether this request is authorized.
///
public bool Authenticated => !string.IsNullOrEmpty(Authentication);
///
/// Gets or sets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
///
public string? Secret { get; set; }
///
/// Gets or sets the user facing code used so the user can quickly differentiate this request from others.
///
public string? Code { get; set; }
///
/// Gets or sets the private access token.
///
public string? Authentication { get; set; }
///
/// Gets or sets an error message.
///
public string? Error { get; set; }
///
/// Gets or sets the DateTime that this request was created.
///
public DateTime? DateAdded { get; set; }
}
}