コード例 #1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="AssociationManager"/> class.
		/// </summary>
		/// <param name="channel">The channel the relying party is using.</param>
		/// <param name="associationStore">The association store.  May be null for dumb mode relying parties.</param>
		/// <param name="securitySettings">The security settings.</param>
		internal AssociationManager(Channel channel, IRelyingPartyAssociationStore associationStore, RelyingPartySecuritySettings securitySettings) {
			Contract.Requires<ArgumentNullException>(channel != null);
			Contract.Requires<ArgumentNullException>(securitySettings != null);

			this.channel = channel;
			this.associationStore = associationStore;
			this.securitySettings = securitySettings;
		}
コード例 #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="AssociationManager"/> class.
		/// </summary>
		/// <param name="channel">The channel the relying party is using.</param>
		/// <param name="associationStore">The association store.  May be null for dumb mode relying parties.</param>
		/// <param name="securitySettings">The security settings.</param>
		internal AssociationManager(Channel channel, IRelyingPartyAssociationStore associationStore, RelyingPartySecuritySettings securitySettings) {
			Requires.NotNull(channel, "channel");
			Requires.NotNull(securitySettings, "securitySettings");

			this.channel = channel;
			this.associationStore = associationStore;
			this.securitySettings = securitySettings;
		}
コード例 #3
0
ファイル: AssociationManager.cs プロジェクト: terry2012/DSV
        /// <summary>
        /// Initializes a new instance of the <see cref="AssociationManager"/> class.
        /// </summary>
        /// <param name="channel">The channel the relying party is using.</param>
        /// <param name="associationStore">The association store.  May be null for dumb mode relying parties.</param>
        /// <param name="securitySettings">The security settings.</param>
        internal AssociationManager(Channel channel, IRelyingPartyAssociationStore associationStore, RelyingPartySecuritySettings securitySettings)
        {
            Requires.NotNull(channel, "channel");
            Requires.NotNull(securitySettings, "securitySettings");

            this.channel          = channel;
            this.associationStore = associationStore;
            this.securitySettings = securitySettings;
        }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelyingPartySigningBindingElement"/> class.
 /// </summary>
 /// <param name="associationStore">The association store used to look up the secrets needed for signing.  May be null for dumb Relying Parties.</param>
 internal RelyingPartySigningBindingElement(IRelyingPartyAssociationStore associationStore)
 {
     this.rpAssociations = associationStore;
 }
コード例 #5
0
		/// <summary>
		/// Initializes a new instance of the <see cref="RelyingPartySigningBindingElement"/> class.
		/// </summary>
		/// <param name="associationStore">The association store used to look up the secrets needed for signing.  May be null for dumb Relying Parties.</param>
		internal RelyingPartySigningBindingElement(IRelyingPartyAssociationStore associationStore) {
			this.rpAssociations = associationStore;
		}