using System.Collections.Generic; using System.Threading.Tasks; namespace MediaBrowser.Controller.Security { /// /// Handles the retrieval and storage of API keys. /// public interface IAuthenticationManager { /// /// Creates an API key. /// /// The name of the key. /// A task representing the creation of the key. Task CreateApiKey(string name); /// /// Gets the API keys. /// /// A task representing the retrieval of the API keys. Task> GetApiKeys(); /// /// Deletes an API key with the provided access token. /// /// The access token. /// A task representing the deletion of the API key. Task DeleteApiKey(string accessToken); } }