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
publicBaseUrlUriThe 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
publicBaseUrlis null.- InvalidOperationException
Linked-roles support did not produce a verification URL.