Table of Contents

Property RedirectUri

Namespace
DisCatSharp.Extensions.OAuth2Web
Assembly
DisCatSharp.Extensions.OAuth2Web.dll

RedirectUri

Sets the redirect uri.

Must be http(s)://(sub).domain.tld/oauth/.

Must end on /.

If used in sharding, the redirect uri internally appends ShardId

Example: Sharded redirect uri:
<p>
    Shard 1 will have the uri
    <code>http://<xref href="DisCatSharp.Extensions.OAuth2Web.OAuth2WebConfiguration.ProxyTargetIpOrHost?text=Host" data-throw-if-not-resolved="false"></xref>:<xref href="DisCatSharp.Extensions.OAuth2Web.OAuth2WebConfiguration.StartPort?text=StartPort" data-throw-if-not-resolved="false"></xref>/oauth/s0/</code>.
</p>
<p>
    Shard 2 will have the uri
    <code>http://<xref href="DisCatSharp.Extensions.OAuth2Web.OAuth2WebConfiguration.ProxyTargetIpOrHost?text=Host" data-throw-if-not-resolved="false"></xref>:<xref href="DisCatSharp.Extensions.OAuth2Web.OAuth2WebConfiguration.StartPort?text=StartPort%2b1" data-throw-if-not-resolved="false"></xref>/oauth/s1/</code>.
</p>
public string RedirectUri { init; }

Property Value

string