More improvements to the Plex OAuth, Added the ability to turn it off if needed

This commit is contained in:
Jamie 2018-04-24 08:32:31 +01:00
parent f62e97bb32
commit e12146c986
10 changed files with 40 additions and 14 deletions

View file

@ -9,7 +9,7 @@ namespace Ombi.Core.Authentication
{
Task<string> GetAccessTokenFromPin(int pinId);
Task<OAuthPin> RequestPin();
Task<Uri> GetOAuthUrl(int pinId, string code);
Task<Uri> GetOAuthUrl(int pinId, string code, string websiteAddress = null);
Uri GetWizardOAuthUrl(int pinId, string code, string websiteAddress);
Task<PlexAccount> GetAccount(string accessToken);
}