//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. 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.OpenId.Provider;
///
/// Code contract for the class.
///
[ContractClassFor(typeof(AssociateSuccessfulResponseProvider))]
internal abstract class AssociateSuccessfulResponseProviderContract : AssociateSuccessfulResponseProvider {
///
/// Initializes a new instance of the class.
///
/// The version.
/// The request.
private AssociateSuccessfulResponseProviderContract(Version version, AssociateRequest request)
: base(version, request) {
}
///
/// Called to create the Association based on a request previously given by the Relying Party.
///
/// The prior request for an association.
/// The Provider's association store.
/// The security settings of the Provider.
///
/// The created association.
///
protected internal override Association CreateAssociationAtProvider(AssociateRequest request, IProviderAssociationStore associationStore, ProviderSecuritySettings securitySettings) {
Contract.Requires(request != null);
Contract.Requires(associationStore != null);
Contract.Requires(securitySettings != null);
throw new NotImplementedException();
}
}
}