public ManagedTokenDiscoveryServiceProxy(IServiceManagement <IDiscoveryService> serviceManagement, SecurityTokenResponse securityTokenRes) : base(serviceManagement, securityTokenRes) { this._proxyManager = new AutoRefreshSecurityToken <DiscoveryServiceProxy, IDiscoveryService>(this); }
public ManagedTokenDiscoveryServiceProxy(IServiceManagement <IDiscoveryService> serviceManagement, ClientCredentials userCredentials) : base(serviceManagement, userCredentials) { 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); }