public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement,
                                             SecurityTokenResponse securityTokenRes)
     : base(serviceManagement, securityTokenRes)
 {
     this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
 public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement,
                                             ClientCredentials userCredentials)
     : base(serviceManagement, userCredentials)
 {
     this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
 public ManagedTokenDiscoveryServiceProxy(IServiceManagement<IDiscoveryService> serviceManagement,
    ClientCredentials userCredentials)
     : base(serviceManagement, userCredentials)
 {
     this._proxyManager = new AutoRefreshSecurityToken<DiscoveryServiceProxy, IDiscoveryService>(this);
 }
 public ManagedTokenOrganizationServiceProxy(Uri serviceUri, ClientCredentials userCredentials)
     : base(serviceUri, null, userCredentials, null)
 {
     this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
 public ManagedTokenDiscoveryServiceProxy(IServiceManagement<IDiscoveryService> serviceManagement,
     SecurityTokenResponse securityTokenRes)
     : base(serviceManagement, securityTokenRes)
 {
     this._proxyManager = new AutoRefreshSecurityToken<DiscoveryServiceProxy, IDiscoveryService>(this);
 }
 public ManagedTokenDiscoveryServiceProxy(Uri serviceUri, ClientCredentials userCredentials)
     : base(serviceUri, null, userCredentials, null)
 {
     this._proxyManager = new AutoRefreshSecurityToken<DiscoveryServiceProxy, IDiscoveryService>(this);
 }
示例#7
0
 public ManagedTokenDiscoveryServiceProxy(IServiceManagement <IDiscoveryService> serviceManagement, ClientCredentials userCredentials)
     : base(serviceManagement, userCredentials)
 {
     proxyManager = new AutoRefreshSecurityToken <DiscoveryServiceProxy, IDiscoveryService>(this);
 }
示例#8
0
 public ManagedTokenDiscoveryServiceProxy(IServiceManagement <IDiscoveryService> serviceManagement, SecurityTokenResponse securityTokenRes)
     : base(serviceManagement, securityTokenRes)
 {
     proxyManager = new AutoRefreshSecurityToken <DiscoveryServiceProxy, IDiscoveryService>(this);
 }
示例#9
0
 public ManagedTokenDiscoveryServiceProxy(Uri serviceUri, ClientCredentials userCredentials)
     : base(serviceUri, null, userCredentials, null)
 {
     proxyManager = new AutoRefreshSecurityToken <DiscoveryServiceProxy, IDiscoveryService>(this);
 }