public void AddBindingParameters(ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters) { SsoClientCredentials cred = bindingParameters.Find <SsoClientCredentials>(); if (cred == null) { throw new ConfigurationErrorsException("The session behavior must be used in conjunction with SsoClientCredentials"); } cred.Session = session; cred.Duration = duration; cred.Cache = cache; cred.Config = config; }
public SsoSecurityTokenProvider(SsoClientCredentials clientCredentials, IssuedSecurityTokenParameters tokenRequirement) { this.clientCredentials = clientCredentials; this.tokenRequirement = tokenRequirement; }
protected SsoClientCredentials(SsoClientCredentials other) : base(other) { }