using System; using Unity.Services.Core.Editor; namespace Unity.Services.Authentication.Editor { class AuthenticationService : IEditorGameService { /// /// Name of the service /// Used for error handling and service fetching /// public string Name => "Authentication Service"; /// /// Identifier for the service /// Used when registering and fetching the service /// public IEditorGameServiceIdentifier Identifier { get; } = new AuthenticationIdentifier(); /// /// Flag used to determine whether COPPA Compliance should be adhered to /// for this service /// public bool RequiresCoppaCompliance => false; /// /// Flag used to determine whether this service has a dashboard /// public bool HasDashboard => false; /// /// Getter for the formatted dashboard url /// If is false, this field only need return null or empty string /// /// The formatted URL public string GetFormattedDashboardUrl() { return null; } /// /// The enabler which allows the service to toggle on/off /// Can be set to null, in which case there would be no toggle /// public IEditorGameServiceEnabler Enabler { get; } = null; } }