Table of Contents

Interface IServerUrls

Namespace
Fdyay.IdentityServer.Hosting
Assembly
Fdyay.IdentityServer.AspNetCore.dll

This server's own URL, as the request that reached it spells it.

public interface IServerUrls

Remarks

One construction, because there were three and they disagreed. Two built the host with ToUriComponent() and one did not, which is the whole difference between münchen.example.com and xn--mnchen-3ya.example.com — the same host, and not the same string to anything comparing them.

That mattered where a value derived from this URL is compared against one a client derived from the URL it dialled: a client-assertion audience, and a DPoP proof's htu. The client always has the wire form.

Properties

BasePath

The path this server is mounted under, or empty at the host root.

string BasePath { get; }

Property Value

string

BaseUrl

Origin and base path, with no trailing slash.

string BaseUrl { get; }

Property Value

string

CurrentUrl

The URL this request reached, without query or fragment.

string CurrentUrl { get; }

Property Value

string

Origin

Scheme and host, with the host in the form it travels in.

string Origin { get; }

Property Value

string