//-----------------------------------------------------------------------
//
// Copyright (c) Outercurve Foundation. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OpenId.Messages {
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using DotNetOpenAuth.Messaging;
///
/// A successful association response as it is received by the relying party.
///
[ContractClass(typeof(IAssociateSuccessfulResponseRelyingPartyContract))]
internal interface IAssociateSuccessfulResponseRelyingParty : IProtocolMessage {
///
/// Called to create the Association based on a request previously given by the Relying Party.
///
/// The prior request for an association.
/// The created association.
Association CreateAssociationAtRelyingParty(AssociateRequest request);
}
}