Fixed the Plex OAuth warning

This commit is contained in:
Jamie 2018-07-03 12:33:21 +01:00
parent 7bfc5ad632
commit 41da68b961
19 changed files with 134 additions and 59 deletions

View file

@ -20,12 +20,6 @@ namespace Ombi.Core.Authentication
private readonly IPlexApi _api;
private readonly ISettingsService<CustomizationSettings> _customizationSettingsService;
public async Task<OAuthPin> RequestPin()
{
var pin = await _api.CreatePin();
return pin;
}
public async Task<string> GetAccessTokenFromPin(int pinId)
{
var pin = await _api.GetPin(pinId);