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