rename session folder

This commit is contained in:
dkanada 2020-02-06 00:47:50 +09:00
parent c2733ac0dc
commit 1cb51a8ac7
3 changed files with 11 additions and 11 deletions

View File

@ -8,11 +8,11 @@ using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Services; using MediaBrowser.Model.Services;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api.Session namespace MediaBrowser.Api.Sessions
{ {
[Route("/Auth/Keys", "GET")] [Route("/Auth/Keys", "GET")]
[Authenticated(Roles = "Admin")] [Authenticated(Roles = "Admin")]
public class GetApiKeys public class GetKeys
{ {
} }
@ -32,7 +32,7 @@ namespace MediaBrowser.Api.Session
public string App { get; set; } public string App { get; set; }
} }
public class ApiKeysService : BaseApiService public class ApiKeyService : BaseApiService
{ {
private readonly ISessionManager _sessionManager; private readonly ISessionManager _sessionManager;
@ -40,8 +40,8 @@ namespace MediaBrowser.Api.Session
private readonly IServerApplicationHost _appHost; private readonly IServerApplicationHost _appHost;
public ApiKeysService( public ApiKeyService(
ILogger<ApiKeysService> logger, ILogger<ApiKeyService> logger,
IServerConfigurationManager serverConfigurationManager, IServerConfigurationManager serverConfigurationManager,
IHttpResultFactory httpResultFactory, IHttpResultFactory httpResultFactory,
ISessionManager sessionManager, ISessionManager sessionManager,
@ -72,7 +72,7 @@ namespace MediaBrowser.Api.Session
}); });
} }
public object Get(GetApiKeys request) public object Get(GetKeys request)
{ {
var result = _authRepo.Get(new AuthenticationInfoQuery var result = _authRepo.Get(new AuthenticationInfoQuery
{ {

View File

@ -5,7 +5,7 @@ using MediaBrowser.Controller.Net;
using MediaBrowser.Controller.Session; using MediaBrowser.Controller.Session;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api.Session namespace MediaBrowser.Api.Sessions
{ {
/// <summary> /// <summary>
/// Class SessionInfoWebSocketListener /// Class SessionInfoWebSocketListener

View File

@ -12,7 +12,7 @@ using MediaBrowser.Model.Services;
using MediaBrowser.Model.Session; using MediaBrowser.Model.Session;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api.Session namespace MediaBrowser.Api.Sessions
{ {
/// <summary> /// <summary>
/// Class GetSessions /// Class GetSessions
@ -248,7 +248,7 @@ namespace MediaBrowser.Api.Session
/// <summary> /// <summary>
/// Class SessionsService. /// Class SessionsService.
/// </summary> /// </summary>
public class SessionsService : BaseApiService public class SessionService : BaseApiService
{ {
/// <summary> /// <summary>
/// The _session manager. /// The _session manager.
@ -260,8 +260,8 @@ namespace MediaBrowser.Api.Session
private readonly IDeviceManager _deviceManager; private readonly IDeviceManager _deviceManager;
private readonly ISessionContext _sessionContext; private readonly ISessionContext _sessionContext;
public SessionsService( public SessionService(
ILogger<SessionsService> logger, ILogger<SessionService> logger,
IServerConfigurationManager serverConfigurationManager, IServerConfigurationManager serverConfigurationManager,
IHttpResultFactory httpResultFactory, IHttpResultFactory httpResultFactory,
ISessionManager sessionManager, ISessionManager sessionManager,