blob: 94028e9b8f7c76cff83bdf61f4430333a1bc4f74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//-----------------------------------------------------------------------
// <copyright file="AssociateUnencryptedRequestNoSslCheck.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Test.Mocks {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetOpenAuth.OpenId.Messages;
/// <summary>
/// An associate request message that doesn't throw when
/// it is used over HTTP (without SSL).
/// </summary>
internal class AssociateUnencryptedRequestNoSslCheck : AssociateUnencryptedRequest {
internal AssociateUnencryptedRequestNoSslCheck(Version version, Uri providerEndpoint)
: base(version, providerEndpoint) {
}
public override void EnsureValidMessage() {
// We deliberately do NOT call our base class method to avoid throwing
// when no-encryption is used over an HTTP transport.
}
}
}
|