rename session folder
This commit is contained in:
parent
c2733ac0dc
commit
1cb51a8ac7
|
@ -8,11 +8,11 @@ using MediaBrowser.Controller.Session;
|
|||
using MediaBrowser.Model.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace MediaBrowser.Api.Session
|
||||
namespace MediaBrowser.Api.Sessions
|
||||
{
|
||||
[Route("/Auth/Keys", "GET")]
|
||||
[Authenticated(Roles = "Admin")]
|
||||
public class GetApiKeys
|
||||
public class GetKeys
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ namespace MediaBrowser.Api.Session
|
|||
public string App { get; set; }
|
||||
}
|
||||
|
||||
public class ApiKeysService : BaseApiService
|
||||
public class ApiKeyService : BaseApiService
|
||||
{
|
||||
private readonly ISessionManager _sessionManager;
|
||||
|
||||
|
@ -40,8 +40,8 @@ namespace MediaBrowser.Api.Session
|
|||
|
||||
private readonly IServerApplicationHost _appHost;
|
||||
|
||||
public ApiKeysService(
|
||||
ILogger<ApiKeysService> logger,
|
||||
public ApiKeyService(
|
||||
ILogger<ApiKeyService> logger,
|
||||
IServerConfigurationManager serverConfigurationManager,
|
||||
IHttpResultFactory httpResultFactory,
|
||||
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
|
||||
{
|
|
@ -5,7 +5,7 @@ using MediaBrowser.Controller.Net;
|
|||
using MediaBrowser.Controller.Session;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace MediaBrowser.Api.Session
|
||||
namespace MediaBrowser.Api.Sessions
|
||||
{
|
||||
/// <summary>
|
||||
/// Class SessionInfoWebSocketListener
|
|
@ -12,7 +12,7 @@ using MediaBrowser.Model.Services;
|
|||
using MediaBrowser.Model.Session;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace MediaBrowser.Api.Session
|
||||
namespace MediaBrowser.Api.Sessions
|
||||
{
|
||||
/// <summary>
|
||||
/// Class GetSessions
|
||||
|
@ -248,7 +248,7 @@ namespace MediaBrowser.Api.Session
|
|||
/// <summary>
|
||||
/// Class SessionsService.
|
||||
/// </summary>
|
||||
public class SessionsService : BaseApiService
|
||||
public class SessionService : BaseApiService
|
||||
{
|
||||
/// <summary>
|
||||
/// The _session manager.
|
||||
|
@ -260,8 +260,8 @@ namespace MediaBrowser.Api.Session
|
|||
private readonly IDeviceManager _deviceManager;
|
||||
private readonly ISessionContext _sessionContext;
|
||||
|
||||
public SessionsService(
|
||||
ILogger<SessionsService> logger,
|
||||
public SessionService(
|
||||
ILogger<SessionService> logger,
|
||||
IServerConfigurationManager serverConfigurationManager,
|
||||
IHttpResultFactory httpResultFactory,
|
||||
ISessionManager sessionManager,
|
Loading…
Reference in New Issue
Block a user