//-----------------------------------------------------------------------
//
// 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;
using DotNetOpenAuth.OpenId.Provider;
///
/// Code contract for the interface.
///
[ContractClassFor(typeof(IAssociateSuccessfulResponseProvider))]
internal abstract class IAssociateSuccessfulResponseProviderContract : IAssociateSuccessfulResponseProvider {
///
/// Gets or sets the expires in.
///
///
/// The expires in.
///
long IAssociateSuccessfulResponseProvider.ExpiresIn {
get { throw new NotImplementedException(); }
set { throw new NotImplementedException(); }
}
///
/// Gets or sets the association handle.
///
///
/// The association handle.
///
string IAssociateSuccessfulResponseProvider.AssociationHandle {
get { throw new NotImplementedException(); }
set { throw new NotImplementedException(); }
}
///
/// Gets the level of protection this message requires.
///
Messaging.MessageProtections Messaging.IProtocolMessage.RequiredProtection {
get { throw new NotImplementedException(); }
}
///
/// Gets a value indicating whether this is a direct or indirect message.
///
Messaging.MessageTransport Messaging.IProtocolMessage.Transport {
get { throw new NotImplementedException(); }
}
///
/// Gets the version of the protocol or extension this message is prepared to implement.
///
Version Messaging.IMessage.Version {
get { throw new NotImplementedException(); }
}
///
/// Gets the extra, non-standard Protocol parameters included in the message.
///
IDictionary Messaging.IMessage.ExtraData {
get { throw new NotImplementedException(); }
}
///
/// 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.
///
Association IAssociateSuccessfulResponseProvider.CreateAssociationAtProvider(AssociateRequest request, IProviderAssociationStore associationStore, ProviderSecuritySettings securitySettings) {
Requires.NotNull(request, "request");
Requires.NotNull(associationStore, "associationStore");
Requires.NotNull(securitySettings, "securitySettings");
throw new NotImplementedException();
}
///
/// Checks the message state for conformity to the protocol specification
/// and throws an exception if the message is invalid.
///
/// Thrown if the message is invalid.
void Messaging.IMessage.EnsureValidMessage() {
throw new NotImplementedException();
}
}
}