Table of Contents
API reference

Method GetVerificationUrl

Namespace
DisCatSharp.Hosting.AspNetCore.LinkedRoles
Assembly
DisCatSharp.Hosting.AspNetCore.dll

GetVerificationUrl(Uri)

Computes the public linked-roles verification URL for the supplied application base URL.

public Uri GetVerificationUrl(Uri publicBaseUrl)

Parameters

publicBaseUrl Uri

The externally visible application base URL.

Returns

Uri

The public linked-roles verification URL.

Remarks

The returned URL follows VerificationPath semantics and therefore remains independent from the signed ingress route prefix.

Exceptions

ArgumentNullException

publicBaseUrl is null.

InvalidOperationException

Linked-roles support did not produce a verification URL.