public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement, SecurityTokenResponse securityTokenRes, AuthenticationCredentials authenticationCredentials) : base(serviceManagement, securityTokenRes) { this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this, authenticationCredentials); }
public ManagedTokenOrganizationServiceProxy(IServiceManagement <IOrganizationService> serviceManagement, ClientCredentials userCredentials) : base(serviceManagement, userCredentials) { this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this); }
public ManagedTokenOrganizationServiceProxy(Uri serviceUri, ClientCredentials userCredentials) : base(serviceUri, null, userCredentials, null) { this._proxyManager = new AutoRefreshSecurityToken <OrganizationServiceProxy, IOrganizationService>(this); }