Exemple #1
0
 public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement,
                                             ClientCredentials userCredentials)
     : base(serviceManagement, userCredentials)
 {
     this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
Exemple #2
0
 public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement,
                                             SecurityTokenResponse securityTokenRes)
     : base(serviceManagement, securityTokenRes)
 {
     this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
Exemple #3
0
 public ManagedTokenOrganizationServiceProxy(Uri serviceUri, ClientCredentials userCredentials)
     : base(serviceUri, null, userCredentials, null)
 {
     this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
Exemple #4
0
 public ManagedTokenDiscoveryServiceProxy(IServiceManagement <IDiscoveryService> serviceManagement,
                                          ClientCredentials userCredentials)
     : base(serviceManagement, userCredentials)
 {
     this._proxyManager = new AutoRefreshSecurityToken <DiscoveryServiceProxy, IDiscoveryService>(this);
 }
Exemple #5
0
 public ManagedTokenDiscoveryServiceProxy(IServiceManagement <IDiscoveryService> serviceManagement,
                                          SecurityTokenResponse securityTokenRes)
     : base(serviceManagement, securityTokenRes)
 {
     this._proxyManager = new AutoRefreshSecurityToken <DiscoveryServiceProxy, IDiscoveryService>(this);
 }
Exemple #6
0
 public ManagedTokenDiscoveryServiceProxy(Uri serviceUri, ClientCredentials userCredentials)
     : base(serviceUri, null, userCredentials, null)
 {
     this._proxyManager = new AutoRefreshSecurityToken <DiscoveryServiceProxy, IDiscoveryService>(this);
 }