// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Online { /// /// Holds configuration for API endpoints. /// public class EndpointConfiguration { /// /// The OAuth client secret. /// public string APIClientSecret { get; set; } = string.Empty; /// /// The OAuth client ID. /// public string APIClientID { get; set; } = string.Empty; /// /// The base URL for the website. Does not include a trailing slash. /// public string WebsiteUrl { get; set; } = string.Empty; /// /// The endpoint for the main (osu-web) API. Does not include a trailing slash. /// public string APIUrl { get; set; } = string.Empty; /// /// The root URL for the service handling beatmap submission. Does not include a trailing slash. /// public string? BeatmapSubmissionServiceUrl { get; set; } /// /// The endpoint for the SignalR spectator server. /// public string SpectatorUrl { get; set; } = string.Empty; /// /// The endpoint for the SignalR multiplayer server. /// public string MultiplayerUrl { get; set; } = string.Empty; /// /// The endpoint for the SignalR metadata server. /// public string MetadataUrl { get; set; } = string.Empty; } }