Example #1
0
 public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement,
                                             SecurityTokenResponse securityTokenRes)
     : base(serviceManagement, securityTokenRes)
 {
     _proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
Example #2
0
 public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement,
                                             ClientCredentials userCredentials)
     : base(serviceManagement, userCredentials)
 {
     _proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }
Example #3
0
 public ManagedTokenOrganizationServiceProxy(Uri serviceUri, ClientCredentials userCredentials)
     : base(serviceUri, null, userCredentials, null)
 {
     _proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this);
 }