diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-08-23 18:10:03 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-08-23 18:10:03 -0700 |
commit | 22aa6b81a31e06d8921ac9818758c098164dfaa9 (patch) | |
tree | ea4b41bf3c2eaa53186b0e91c4c2fa7f054036cc /src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/Messages/AssociateSuccessfulResponseRelyingPartyContract.cs | |
parent | cabe9ad70ef14f86088e482b129c54c18c06d276 (diff) | |
download | DotNetOpenAuth-22aa6b81a31e06d8921ac9818758c098164dfaa9.zip DotNetOpenAuth-22aa6b81a31e06d8921ac9818758c098164dfaa9.tar.gz DotNetOpenAuth-22aa6b81a31e06d8921ac9818758c098164dfaa9.tar.bz2 |
Fixed basic association test.
Diffstat (limited to 'src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/Messages/AssociateSuccessfulResponseRelyingPartyContract.cs')
-rw-r--r-- | src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/Messages/AssociateSuccessfulResponseRelyingPartyContract.cs | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/Messages/AssociateSuccessfulResponseRelyingPartyContract.cs b/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/Messages/AssociateSuccessfulResponseRelyingPartyContract.cs index 4a9a8f4..35cb928 100644 --- a/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/Messages/AssociateSuccessfulResponseRelyingPartyContract.cs +++ b/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/Messages/AssociateSuccessfulResponseRelyingPartyContract.cs @@ -16,17 +16,8 @@ namespace DotNetOpenAuth { /// <summary> /// Code contract for the <see cref="AssociateSuccessfulResponseRelyingParty"/> class. /// </summary> - [ContractClassFor(typeof(AssociateSuccessfulResponseRelyingParty))] - internal abstract class AssociateSuccessfulResponseRelyingPartyContract : AssociateSuccessfulResponseRelyingParty { - /// <summary> - /// Initializes a new instance of the <see cref="AssociateSuccessfulResponseRelyingPartyContract"/> class. - /// </summary> - /// <param name="version">The version.</param> - /// <param name="request">The request.</param> - private AssociateSuccessfulResponseRelyingPartyContract(Version version, AssociateRequest request) - : base(version, request) { - } - + [ContractClassFor(typeof(IAssociateSuccessfulResponseRelyingParty))] + internal abstract class IAssociateSuccessfulResponseRelyingPartyContract : IAssociateSuccessfulResponseRelyingParty { /// <summary> /// Called to create the Association based on a request previously given by the Relying Party. /// </summary> @@ -34,9 +25,29 @@ namespace DotNetOpenAuth { /// <returns> /// The created association. /// </returns> - protected internal override Association CreateAssociationAtRelyingParty(AssociateRequest request) { + Association IAssociateSuccessfulResponseRelyingParty.CreateAssociationAtRelyingParty(AssociateRequest request) { Contract.Requires<ArgumentNullException>(request != null); throw new NotImplementedException(); } + + Messaging.MessageProtections Messaging.IProtocolMessage.RequiredProtection { + get { throw new NotImplementedException(); } + } + + Messaging.MessageTransport Messaging.IProtocolMessage.Transport { + get { throw new NotImplementedException(); } + } + + Version Messaging.IMessage.Version { + get { throw new NotImplementedException(); } + } + + IDictionary<string, string> Messaging.IMessage.ExtraData { + get { throw new NotImplementedException(); } + } + + void Messaging.IMessage.EnsureValidMessage() { + throw new NotImplementedException(); + } } } |