The messaging channel used by OAuth 2.0 Clients.
상속: DotNetOpenAuth.OAuth2.ChannelElements.OAuth2ChannelBase
예제 #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;
		}