C# (CSharp) RestSharp.Authenticators.OAuth OAuthTools.UrlEncodeRelaxed - 3 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die RestSharp.Authenticators.OAuth.OAuthTools.UrlEncodeRelaxed, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.
URL encodes a string based on section 5.1 of the OAuth spec. Namely, percent encoding with [RFC3986], avoiding unreserved characters, upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
The Uri.EscapeDataString method is supposed to take on RFC 3986 behavior if certain elements are present in a .config file. Even if this actually worked (which in my experiments it doesn't), we can't rely on every host actually having this configuration element present.