mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
update to jquery mobile 1.4.3
This commit is contained in:
@@ -50,11 +50,11 @@ namespace MediaBrowser.Controller.Library
|
||||
/// <summary>
|
||||
/// Authenticates a User and returns a result indicating whether or not it succeeded
|
||||
/// </summary>
|
||||
/// <param name="user">The user.</param>
|
||||
/// <param name="username">The username.</param>
|
||||
/// <param name="password">The password.</param>
|
||||
/// <returns>Task{System.Boolean}.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">user</exception>
|
||||
Task<bool> AuthenticateUser(User user, string password);
|
||||
Task<bool> AuthenticateUser(string username, string password);
|
||||
|
||||
/// <summary>
|
||||
/// Refreshes metadata for each user
|
||||
|
||||
@@ -28,5 +28,10 @@ namespace MediaBrowser.Controller.Net
|
||||
/// </summary>
|
||||
/// <value>The version.</value>
|
||||
public string Version { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the token.
|
||||
/// </summary>
|
||||
/// <value>The token.</value>
|
||||
public string Token { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Session;
|
||||
using MediaBrowser.Model.Users;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
@@ -206,11 +207,11 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="sessionId">The session identifier.</param>
|
||||
/// <param name="item">The item.</param>
|
||||
void ReportNowViewingItem(string sessionId, BaseItemInfo item);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Authenticates the new session.
|
||||
/// </summary>
|
||||
/// <param name="user">The user.</param>
|
||||
/// <param name="username">The username.</param>
|
||||
/// <param name="password">The password.</param>
|
||||
/// <param name="clientType">Type of the client.</param>
|
||||
/// <param name="appVersion">The application version.</param>
|
||||
@@ -218,7 +219,7 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="deviceName">Name of the device.</param>
|
||||
/// <param name="remoteEndPoint">The remote end point.</param>
|
||||
/// <returns>Task{SessionInfo}.</returns>
|
||||
Task<SessionInfo> AuthenticateNewSession(User user, string password, string clientType, string appVersion, string deviceId, string deviceName, string remoteEndPoint);
|
||||
Task<AuthenticationResult> AuthenticateNewSession(string username, string password, string clientType, string appVersion, string deviceId, string deviceName, string remoteEndPoint);
|
||||
|
||||
/// <summary>
|
||||
/// Reports the capabilities.
|
||||
@@ -248,5 +249,11 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="version">The version.</param>
|
||||
/// <returns>SessionInfo.</returns>
|
||||
SessionInfo GetSession(string deviceId, string client, string version);
|
||||
|
||||
/// <summary>
|
||||
/// Validates the security token.
|
||||
/// </summary>
|
||||
/// <param name="token">The token.</param>
|
||||
void ValidateSecurityToken(string token);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user