mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
14 lines
No EOL
425 B
C#
14 lines
No EOL
425 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Ombi.Api.Plex.Models;
|
|
|
|
namespace Ombi.Core.Authentication
|
|
{
|
|
public interface IPlexOAuthManager
|
|
{
|
|
Task<string> GetAccessTokenFromPin(int pinId);
|
|
Task<Uri> GetOAuthUrl(string code, string websiteAddress = null);
|
|
Task<Uri> GetWizardOAuthUrl(string code, string websiteAddress);
|
|
Task<PlexAccount> GetAccount(string accessToken);
|
|
}
|
|
} |