//-----------------------------------------------------------------------
//
// Copyright (c) Outercurve Foundation. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OpenId.ChannelElements {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OpenId.Messages;
///
/// Represents an association request received by the OpenID Provider that is sent using HTTPS and
/// otherwise communicates the shared secret in plain text.
///
internal class AssociateUnencryptedProviderRequest : AssociateUnencryptedRequest, IAssociateRequestProvider {
///
/// Initializes a new instance of the class.
///
/// The OpenID version this message must comply with.
/// The OpenID Provider endpoint.
internal AssociateUnencryptedProviderRequest(Version version, Uri providerEndpoint)
: base(version, providerEndpoint) {
}
///
/// Creates a Provider's response to an incoming association request.
///
///
/// The appropriate association response message.
///
public IProtocolMessage CreateResponseCore() {
var response = new AssociateUnencryptedResponseProvider(this.Version, this);
response.AssociationType = this.AssociationType;
return response;
}
}
}