A specialized WCF client credentials implementation that allows direct setting of SAML tokens.
Inheritance: System.ServiceModel.Description.ClientCredentials
        /// <summary>
        /// Initializes a new instance of the <see cref="SamlSecurityTokenManager"/> class.
        /// </summary>
        /// <param name="credentials">The credentials.</param>
        public SamlSecurityTokenManager(SamlClientCredentials credentials)
            : base(credentials)
        {
            if (credentials == null)
            {
                throw new ArgumentNullException("credentials");
            }

            _credentials = credentials;
        }
Exemple #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SamlSecurityTokenManager"/> class.
        /// </summary>
        /// <param name="credentials">The credentials.</param>
        public SamlSecurityTokenManager(SamlClientCredentials credentials)
            : base(credentials)
        {
            if (credentials == null)
            {
                throw new ArgumentNullException("credentials");
            }

            _credentials = credentials;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="SamlClientCredentials"/> class.
 /// </summary>
 /// <param name="other">The other.</param>
 public SamlClientCredentials(SamlClientCredentials other)
     : base(other)
 {
     SamlToken = other.SamlToken;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SamlClientCredentials"/> class.
 /// </summary>
 /// <param name="other">The other.</param>
 public SamlClientCredentials(SamlClientCredentials other)
     : base(other)
 {
     SamlToken = other.SamlToken;
 }