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

A guard for all messages to or from an Authorization Server to ensure that they are well formed, have valid secrets, callback URIs, etc.
This binding element also ensures that the code/token coming in is issued to the same client that is sending the code/token and that the authorization has not been revoked and that an access token has not expired.
상속: DotNetOpenAuth.OAuth2.ChannelElements.AuthServerBindingElementBase
파일 보기 프로젝트 열기: OneCare/dotnetopenid

공개 메소드들

메소드 설명
ProcessIncomingMessage ( IProtocolMessage message ) : MessageProtections?

Performs any transformation on an incoming message that may be necessary and/or validates an incoming message based on the rules of this channel binding element.

Implementations that provide message protection must honor the MessagePartAttribute.RequiredProtection properties where applicable.

ProcessOutgoingMessage ( IProtocolMessage message ) : MessageProtections?

Prepares a message for sending based on the rules of this channel binding element.

Implementations that provide message protection must honor the MessagePartAttribute.RequiredProtection properties where applicable.

메소드 상세

ProcessIncomingMessage() 공개 메소드

Performs any transformation on an incoming message that may be necessary and/or validates an incoming message based on the rules of this channel binding element.
Implementations that provide message protection must honor the MessagePartAttribute.RequiredProtection properties where applicable.
/// Thrown when the binding element rules indicate that this message is invalid and should /// NOT be processed. ///
public ProcessIncomingMessage ( IProtocolMessage message ) : MessageProtections?
message IProtocolMessage The incoming message to process.
리턴 MessageProtections?

ProcessOutgoingMessage() 공개 메소드

Prepares a message for sending based on the rules of this channel binding element.
Implementations that provide message protection must honor the MessagePartAttribute.RequiredProtection properties where applicable.
public ProcessOutgoingMessage ( IProtocolMessage message ) : MessageProtections?
message IProtocolMessage The message to prepare for sending.
리턴 MessageProtections?