diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-07-25 17:03:47 -0600 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-07-25 17:03:47 -0600 |
commit | d416ff734cea0ed41c275e904a0a09834cc3f079 (patch) | |
tree | 8e0f04bcabc84f3ecc4f21617da3f5778c4ec789 /src/DotNetOpenAuth.OpenId.Provider/OpenId/OpenIdProviderUtilities.cs | |
parent | 67689b08f76546b25d4c4bcc68e179d3b02890fc (diff) | |
download | DotNetOpenAuth-d416ff734cea0ed41c275e904a0a09834cc3f079.zip DotNetOpenAuth-d416ff734cea0ed41c275e904a0a09834cc3f079.tar.gz DotNetOpenAuth-d416ff734cea0ed41c275e904a0a09834cc3f079.tar.bz2 |
OpenID RP and OP projects build now.
Diffstat (limited to 'src/DotNetOpenAuth.OpenId.Provider/OpenId/OpenIdProviderUtilities.cs')
-rw-r--r-- | src/DotNetOpenAuth.OpenId.Provider/OpenId/OpenIdProviderUtilities.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.OpenId.Provider/OpenId/OpenIdProviderUtilities.cs b/src/DotNetOpenAuth.OpenId.Provider/OpenId/OpenIdProviderUtilities.cs index 680759b..247f734 100644 --- a/src/DotNetOpenAuth.OpenId.Provider/OpenId/OpenIdProviderUtilities.cs +++ b/src/DotNetOpenAuth.OpenId.Provider/OpenId/OpenIdProviderUtilities.cs @@ -29,20 +29,19 @@ namespace DotNetOpenAuth.OpenId { /// This method is called by both the Provider and the Relying Party, but actually performs /// quite different operations in either scenario. /// </remarks> - internal static Association CreateAssociation(AssociateRequest request, AssociateSuccessfulResponse response, IProviderAssociationStore associationStore, ProviderSecuritySettings securitySettings) { + internal static Association CreateAssociation(AssociateRequest request, AssociateSuccessfulResponseProvider response, IProviderAssociationStore associationStore, ProviderSecuritySettings securitySettings) { Contract.Requires<ArgumentNullException>(request != null); Contract.Requires<ArgumentNullException>(response != null, "response"); Contract.Requires<ArgumentNullException>(securitySettings != null, "securitySettings"); // We need to initialize some common properties based on the created association. - var association = CreateAssociationAtProvider(request, associationStore, securitySettings); + var association = response.CreateAssociationAtProvider(request, associationStore, securitySettings); response.ExpiresIn = association.SecondsTillExpiration; response.AssociationHandle = association.Handle; return association; } - /// <summary> /// Determines whether the association with the specified handle is (still) valid. /// </summary> |