/// <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; }
/// <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; }
/// <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; }