using Unity.Services.Authentication.Editor.Models; using Unity.Services.Core.Internal; namespace Unity.Services.Authentication.Editor { static class IdProviderType { public const string Apple = "apple.com"; public const string Facebook = "facebook.com"; public const string Steam = "steampowered.com"; public const string Google = "google.com"; public static readonly string[] All = { Apple, Facebook, Google, Steam }; } interface IAuthenticationAdminClient { /// /// Get the ID domain associated with the project. /// /// The Unity project ID. /// Async operation with the id domain ID as the result. IAsyncOperation GetIDDomain(); /// /// Lists all ID providers created for the organization's specified ID domain /// /// The ID domain ID /// The list of ID Providers configured in the ID domain. IAsyncOperation ListIdProviders(string iddomain); /// /// Create a new ID provider for the organization's specified ID domain /// /// The ID domain ID /// The ID provider to create. /// The ID Provider created. IAsyncOperation CreateIdProvider(string iddomain, CreateIdProviderRequest request); /// /// Update an ID provider for the organization's specified ID domain /// /// The ID domain ID /// The ID provider to create. /// The ID Provider updated. IAsyncOperation UpdateIdProvider(string iddomain, string type, UpdateIdProviderRequest request); /// /// Enable an ID provider for the organization's specified ID domain /// /// The ID domain ID /// The type of the ID provider. /// The ID Provider updated. IAsyncOperation EnableIdProvider(string iddomain, string type); /// /// Disable an ID provider for the organization's specified ID domain /// /// The ID domain ID /// The type of the ID provider. /// The ID Provider updated. IAsyncOperation DisableIdProvider(string iddomain, string type); /// /// Delete a specific ID provider from the organization's specified ID domain /// /// The ID domain ID /// The type of the ID provider. /// The async operation to check whether the task is done. IAsyncOperation DeleteIdProvider(string iddomain, string type); } }