aspnetcore/src/ApiAuth.IS/Extensions/IAbsoluteUrlFactory.cs

14 lines
436 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer
{
internal interface IAbsoluteUrlFactory
{
string GetAbsoluteUrl(string path);
string GetAbsoluteUrl(HttpContext context, string path);
}
}