Exemplo n.º 1
0
        protected AbstractClientProvider(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
        {
            ClientId     = ccOauth.ClientId;
            ClientSecret = ccOauth.ClientSecret;
            CallBackUrl  = ccOauth.CallbackUrl;
            Scope        = ccOauth.Scope;
            Endpoint     = ccOauth.Endpoint;

            AcceptedRedirectUrl = ccRoot.AcceptedRedirectUrl;
            FailedRedirectUrl   = ccRoot.FailedRedirectUrl;
            Proxy = ccRoot.Proxy;
        }
Exemplo n.º 2
0
        protected AbstractClientProvider(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
        {
            // TODO: This copying still feels wrong - config class and this client base class share data
            ClientId     = ccOauth.ClientId;
            ClientSecret = ccOauth.ClientSecret;
            CallBackUrl  = ccOauth.CallbackUrl;
            Scope        = ccOauth.Scope;
            Endpoint     = ccOauth.Endpoint;

            //AcceptedRedirectUrl = ccRoot.AcceptedRedirectUrl;
            FailedRedirectUrl = ccRoot.FailedRedirectUrl;
            Proxy             = ccRoot.Proxy;
        }
Exemplo n.º 3
0
 public PayPalClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
 }
Exemplo n.º 4
0
 public WindowsLiveClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
     //ServiceType = typeof (WindowsLiveService);
 }
Exemplo n.º 5
0
 public WindowsLiveClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
 }
Exemplo n.º 6
0
 public PayPalClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
     //ServiceType = typeof (PayPalService);
 }
Exemplo n.º 7
0
 public FacebookClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
 }
 public TwitterClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
 }
Exemplo n.º 9
0
 public GoogleClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
     //ServiceType = typeof (GoogleService);
 }
Exemplo n.º 10
0
 public TwitterClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
     //ServiceType = typeof(TwitterService);
 }
Exemplo n.º 11
0
 public FacebookClient(OAuthWebConfigurationElement ccRoot, OAuthConfigurationElement ccOauth)
     : base(ccRoot, ccOauth)
 {
     //ServiceType = typeof (FacebookService);
 }