mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
654 B
17 lines
654 B
using System.Collections.Generic; |
|
using System.Threading.Tasks; |
|
using ErsatzTV.Core.Plex; |
|
using LanguageExt; |
|
|
|
namespace ErsatzTV.Core.Interfaces.Plex |
|
{ |
|
public interface IPlexSecretStore |
|
{ |
|
public Task<string> GetClientIdentifier(); |
|
public Task<List<PlexUserAuthToken>> GetUserAuthTokens(); |
|
public Task<Unit> UpsertUserAuthToken(PlexUserAuthToken userAuthToken); |
|
public Task<List<PlexServerAuthToken>> GetServerAuthTokens(); |
|
public Task<Option<PlexServerAuthToken>> GetServerAuthToken(string clientIdentifier); |
|
public Task<Unit> UpsertServerAuthToken(PlexServerAuthToken serverAuthToken); |
|
} |
|
}
|
|
|