The messaging channel used by OAuth 2.0 Clients.
Inheritance: DotNetOpenAuth.OAuth2.ChannelElements.OAuth2ChannelBase
Ejemplo n.º 1
0
		public override void SetUp() {
			base.SetUp();

			var authServerChannel = new OAuth2AuthorizationServerChannel(new Mock<IAuthorizationServer>().Object);
			this.authServerMessageFactory = authServerChannel.MessageFactoryTestHook;

			var clientChannel = new OAuth2ClientChannel();
			this.clientMessageFactory = clientChannel.MessageFactoryTestHook;
		}
		internal CoordinatingOAuth2ClientChannel(Channel wrappedChannel, Action<IProtocolMessage> incomingMessageFilter, Action<IProtocolMessage> outgoingMessageFilter)
			: base(wrappedChannel, incomingMessageFilter, outgoingMessageFilter) {
			this.wrappedChannel = (OAuth2ClientChannel)wrappedChannel;
		}