petrsvihlik/WopiHost

View on GitHub
src/WopiHost.Web/Models/WopiOptions.cs

Summary

Maintainability
A
0 mins
Test Coverage
namespace WopiHost.Web.Models;

/// <summary>
/// Configuration object for the the WopiHost.Web application.
/// </summary>
public class WopiOptions
{
    /// <summary>
    /// Base URI of the WOPI Host server.
    /// </summary>
    public Uri HostUrl { get; set; }

    /// <summary>
    /// Base URI of the WOPI Client server (Office Online Server / Office Web Apps).
    /// </summary>
    public Uri ClientUrl { get; set; }

    //TODO: create configuration sections related to host and client and group the related settings (e.g. discovery stuff and WopiUrlSettings should be together with the client)
}