C# 클래스 DotNetOpenAuth.OpenId.Messages.IndirectSignedResponse

상속: DotNetOpenAuth.OpenId.Messages.IndirectResponseBase, ITamperResistantOpenIdMessage, IProtocolMessageWithExtensions
파일 보기 프로젝트 열기: Unroll-Me/DotNetOpenAuth 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetReturnToArgument string
GetReturnToParameterNames IEnumerable
GetSignedMessageParts string>.IDictionary
IndirectSignedResponse System
IndirectSignedResponse System
IndirectSignedResponse System
IsQuerySubsetOf bool
VerifyReturnToMatchesRecipient void

공개 메소드들

메소드 설명
EnsureValidMessage ( ) : void

Checks the message state for conformity to the protocol specification and throws an exception if the message is invalid.

Some messages have required fields, or combinations of fields that must relate to each other in specialized ways. After deserializing a message, this method checks the state of the message to see if it conforms to the protocol.

Note that this property should not check signatures or perform any state checks outside this scope of this particular message.

비공개 메소드들

메소드 설명
GetReturnToArgument ( string key ) : string

Gets the value of a named parameter in the return_to URL without signature protection.

This method will always return null on the Provider-side, since Providers cannot verify the private signature made by the relying party.

GetReturnToParameterNames ( ) : IEnumerable

Gets the names of the callback parameters added to the original authentication request without signature protection.

GetSignedMessageParts ( Channel channel ) : string>.IDictionary

Gets a dictionary of all the message part names and values that are included in the message signature.

IndirectSignedResponse ( DotNetOpenAuth.OpenId.Messages.CheckAuthenticationRequest previouslySignedMessage, Channel channel ) : System

Initializes a new instance of the IndirectSignedResponse class in order to perform signature verification at the Provider.

IndirectSignedResponse ( DotNetOpenAuth.OpenId.Messages.SignedResponseRequest request ) : System

Initializes a new instance of the IndirectSignedResponse class.

IndirectSignedResponse ( System.Version version, Uri relyingPartyReturnTo ) : System

Initializes a new instance of the IndirectSignedResponse class for unsolicited assertions.

IsQuerySubsetOf ( string superset, string subset ) : bool

Determines whether one querystring contains every key=value pair that another querystring contains.

VerifyReturnToMatchesRecipient ( ) : void

Verifies that the openid.return_to field matches the URL of the actual HTTP request.

From OpenId Authentication 2.0 section 11.1: To verify that the "openid.return_to" URL matches the URL that is processing this assertion: * The URL scheme, authority, and path MUST be the same between the two URLs. * Any query parameters that are present in the "openid.return_to" URL MUST also be present with the same values in the URL of the HTTP request the RP received.

메소드 상세

EnsureValidMessage() 공개 메소드

Checks the message state for conformity to the protocol specification and throws an exception if the message is invalid.

Some messages have required fields, or combinations of fields that must relate to each other in specialized ways. After deserializing a message, this method checks the state of the message to see if it conforms to the protocol.

Note that this property should not check signatures or perform any state checks outside this scope of this particular message.

Thrown if the message is invalid.
public EnsureValidMessage ( ) : void
리턴 void