C# 클래스 DotNetOpenAuth.OAuth2.ChannelElements.OAuth2ClientChannel

The messaging channel used by OAuth 2.0 Clients.
상속: DotNetOpenAuth.OAuth2.ChannelElements.OAuth2ChannelBase
파일 보기 프로젝트 열기: OneCare/dotnetopenid 1 사용 예제들

보호된 메소드들

메소드 설명
CreateHttpRequest ( IDirectedProtocolMessage request ) : HttpWebRequest

Prepares an HTTP request that carries a given message.

This method must be overridden by a derived class, unless the Channel.RequestCore method is overridden and does not require this method.

PrepareDirectResponse ( IProtocolMessage response ) : DotNetOpenAuth.Messaging.OutgoingWebResponse

Queues a message for sending in the response stream where the fields are sent in the response stream in querystring style.

This method implements spec OAuth V1.0 section 5.3.

ReadFromRequestCore ( System.Web.HttpRequestBase request ) : IDirectedProtocolMessage

Gets the protocol message that may be embedded in the given HTTP request.

ReadFromResponseCore ( DotNetOpenAuth.Messaging.IncomingWebResponse response ) : string>.IDictionary

Gets the protocol message that may be in the given HTTP response.

비공개 메소드들

메소드 설명
OAuth2ClientChannel ( ) : System

Initializes a new instance of the OAuth2ClientChannel class.

메소드 상세

CreateHttpRequest() 보호된 메소드

Prepares an HTTP request that carries a given message.
This method must be overridden by a derived class, unless the Channel.RequestCore method is overridden and does not require this method.
protected CreateHttpRequest ( IDirectedProtocolMessage request ) : HttpWebRequest
request IDirectedProtocolMessage The message to send.
리턴 System.Net.HttpWebRequest

PrepareDirectResponse() 보호된 메소드

Queues a message for sending in the response stream where the fields are sent in the response stream in querystring style.
This method implements spec OAuth V1.0 section 5.3.
protected PrepareDirectResponse ( IProtocolMessage response ) : DotNetOpenAuth.Messaging.OutgoingWebResponse
response IProtocolMessage The message to send as a response.
리턴 DotNetOpenAuth.Messaging.OutgoingWebResponse

ReadFromRequestCore() 보호된 메소드

Gets the protocol message that may be embedded in the given HTTP request.
protected ReadFromRequestCore ( System.Web.HttpRequestBase request ) : IDirectedProtocolMessage
request System.Web.HttpRequestBase The request to search for an embedded message.
리턴 IDirectedProtocolMessage

ReadFromResponseCore() 보호된 메소드

Gets the protocol message that may be in the given HTTP response.
Thrown when the response is not valid.
protected ReadFromResponseCore ( DotNetOpenAuth.Messaging.IncomingWebResponse response ) : string>.IDictionary
response DotNetOpenAuth.Messaging.IncomingWebResponse The response that is anticipated to contain an protocol message.
리턴 string>.IDictionary