This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//using DotNetOpenAuth and RestSharp | |
WebServerClient client = new WebServerClient( | |
new AuthorizationServerDescription | |
{ | |
TokenEndpoint = new Uri("https://myurl/oauth"), | |
ProtocolVersion = ProtocolVersion.V20 | |
}, "client", "secret"); | |
var token = client.GetClientAccessToken(); |
NewerOlder