Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public SsoSecurityTokenProvider(SsoClientCredentials clientCredentials, IssuedSecurityTokenParameters tokenRequirement)
 {
     this.clientCredentials = clientCredentials;
     this.tokenRequirement  = tokenRequirement;
 }
Ejemplo n.º 3
0
 protected SsoClientCredentials(SsoClientCredentials other)
     : base(other)
 {
 }
Ejemplo n.º 4
0
 protected SsoClientCredentials(SsoClientCredentials other)
     : base(other)
 {
 }
Ejemplo n.º 5
0
 public SsoSecurityTokenProvider(SsoClientCredentials clientCredentials, IssuedSecurityTokenParameters tokenRequirement)
 {
     this.clientCredentials = clientCredentials;
     this.tokenRequirement = tokenRequirement;
 }