/// <summary> /// Constructor. /// </summary> protected RemoteServiceProviderBase(IChannelProvider channelProvider, IUserCredentialsProvider userCredentialsProvider, bool supportFailover) { _channelProvider = channelProvider; _userCredentialsProvider = userCredentialsProvider; _proxyGenerator = new ProxyGenerator(); _responseCachingAdvice = new ResponseCachingClientSideAdvice(); _failoverAdvice = supportFailover ? new FailoverClientAdvice(this) : null; }
public LoginService(IUserCredentialsProvider ucp) { _userCredentialsProvider = ucp; }
public void RegisterUserCredentialsProvider(IUserCredentialsProvider userCredentialsProvider) { _userCredentialsProvider = userCredentialsProvider; }