CreateOAuthEchoHandler() public method

public CreateOAuthEchoHandler ( Uri authServiceProvider, Uri realm = null ) : OAuthEchoHandler
authServiceProvider System.Uri
realm System.Uri
return OAuthEchoHandler
Esempio n. 1
0
            public MobypictureApi(TwitterApi twitterApi)
            {
                var handler = twitterApi.CreateOAuthEchoHandler(AuthServiceProvider, OAuthRealm);

                this.http = Networking.CreateHttpClient(handler);
                this.http.Timeout = Networking.UploadImageTimeout;
            }
Esempio n. 2
0
            public YfrogApi(TwitterApi twitterApi)
            {
                var handler = twitterApi.CreateOAuthEchoHandler(AuthServiceProvider, OAuthRealm);

                this.http = Networking.CreateHttpClient(handler);
                this.http.Timeout = TimeSpan.FromMinutes(1);
            }