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

The channel for the OAuth protocol.
상속: DotNetOpenAuth.OAuth2.ChannelElements.OAuth2ChannelBase, IOAuth2ChannelWithAuthorizationServer
파일 보기 프로젝트 열기: OneCare/dotnetopenid 1 사용 예제들

보호된 메소드들

메소드 설명
OAuth2AuthorizationServerChannel ( IAuthorizationServer authorizationServer ) : System

Initializes a new instance of the OAuth2AuthorizationServerChannel class.

PrepareDirectResponse ( IProtocolMessage response ) : DotNetOpenAuth.Messaging.OutgoingWebResponse

Queues a message for sending in the response stream.

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.

비공개 메소드들

메소드 설명
InitializeBindingElements ( IAuthorizationServer authorizationServer ) : IChannelBindingElement[]

Initializes the binding elements for the OAuth channel.

메소드 상세

OAuth2AuthorizationServerChannel() 보호된 메소드

Initializes a new instance of the OAuth2AuthorizationServerChannel class.
protected OAuth2AuthorizationServerChannel ( IAuthorizationServer authorizationServer ) : System
authorizationServer IAuthorizationServer The authorization server.
리턴 System

PrepareDirectResponse() 보호된 메소드

Queues a message for sending in the response stream.
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