blob: 96091ac2d2edf6646cba6716c4f7c73321b8f017 (
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
29
30
31
32
33
34
35
36
37
|
//-----------------------------------------------------------------------
// <copyright file="CoordinatingOAuth2ClientChannel.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.Messaging;
using DotNetOpenAuth.OAuth2.ChannelElements;
internal class CoordinatingOAuth2ClientChannel : CoordinatingChannel, IOAuth2ChannelWithClient {
private OAuth2ClientChannel wrappedChannel;
internal CoordinatingOAuth2ClientChannel(Channel wrappedChannel, Action<IProtocolMessage> incomingMessageFilter, Action<IProtocolMessage> outgoingMessageFilter)
: base(wrappedChannel, incomingMessageFilter, outgoingMessageFilter) {
this.wrappedChannel = (OAuth2ClientChannel)wrappedChannel;
}
public string ClientIdentifier {
get { return this.wrappedChannel.ClientIdentifier; }
set { this.wrappedChannel.ClientIdentifier = value; }
}
public DotNetOpenAuth.OAuth2.ClientCredentialApplicator ClientCredentialApplicator {
get { return this.wrappedChannel.ClientCredentialApplicator; }
set { this.wrappedChannel.ClientCredentialApplicator = value; }
}
public System.Xml.XmlDictionaryReaderQuotas JsonReaderQuotas {
get { return this.XmlDictionaryReaderQuotas; }
}
}
}
|