Method ValidateState
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
ValidateState(Uri, Uri, bool)
Validates the OAuth2 state.
public bool ValidateState(Uri requestUrl, Uri responseUrl, bool secure = false)
Parameters
requestUrl
UriThe request url generated by GenerateOAuth2Url(string, string, bool).
responseUrl
UriThe response url.
secure
boolWhether GenerateSecureState(ulong) and ReadSecureState(string) is used.