#nullable disable
#pragma warning disable CS1591
using System;
namespace MediaBrowser.Controller.Security
{
    public class AuthenticationInfo
    {
        /// 
        /// Gets or sets the identifier.
        /// 
        /// The identifier.
        public long Id { get; set; }
        /// 
        /// Gets or sets the access token.
        /// 
        /// The access token.
        public string AccessToken { get; set; }
        /// 
        /// Gets or sets the device identifier.
        /// 
        /// The device identifier.
        public string DeviceId { get; set; }
        /// 
        /// Gets or sets the name of the application.
        /// 
        /// The name of the application.
        public string AppName { get; set; }
        /// 
        /// Gets or sets the application version.
        /// 
        /// The application version.
        public string AppVersion { get; set; }
        /// 
        /// Gets or sets the name of the device.
        /// 
        /// The name of the device.
        public string DeviceName { get; set; }
        /// 
        /// Gets or sets the user identifier.
        /// 
        /// The user identifier.
        public Guid UserId { get; set; }
        /// 
        /// Gets or sets a value indicating whether this instance is active.
        /// 
        /// true if this instance is active; otherwise, false.
        public bool IsActive { get; set; }
        /// 
        /// Gets or sets the date created.
        /// 
        /// The date created.
        public DateTime DateCreated { get; set; }
        /// 
        /// Gets or sets the date revoked.
        /// 
        /// The date revoked.
        public DateTime? DateRevoked { get; set; }
        public DateTime DateLastActivity { get; set; }
        public string UserName { get; set; }
    }
}