API reference
Method ValidateIssuer
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
ValidateIssuer(Uri)
Checks that an OAuth2 authorization response contains exactly one Discord issuer parameter. Validate the issuer alongside the state, especially when supporting multiple authorization providers.
public static bool ValidateIssuer(Uri responseUrl)
Parameters
responseUrlUriThe authorization response URL.
Returns
- bool
Whether the issuer is exactly
https://discord.com.