C# 클래스 WindowsAzure.Acs.Oauth2.Client.Protocol.OAuthMessageExtensions

파일 보기 프로젝트 열기: maartenba/WindowsAzure.Acs.Oauth2

공개 메소드들

메소드 설명
CreateQueryString ( NameValueCollection parameters ) : string

Creates a query string from the given name-value pairs.

GetCodeResponseUri ( this message, string authorizationCode ) : string

Generates a Uri to redirect the user's browser to, along with some OAuth paramters in the query string.

GetErrorResponseUri ( this message, string errorCode, string errorDescription ) : string

Generates a Uri with the error message in the query string.

메소드 상세

CreateQueryString() 공개 정적인 메소드

Creates a query string from the given name-value pairs.
public static CreateQueryString ( NameValueCollection parameters ) : string
parameters System.Collections.Specialized.NameValueCollection The name-value pairs.
리턴 string

GetCodeResponseUri() 공개 정적인 메소드

Generates a Uri to redirect the user's browser to, along with some OAuth paramters in the query string.
public static GetCodeResponseUri ( this message, string authorizationCode ) : string
message this The incoming request message.
authorizationCode string The authorization code.
리턴 string

GetErrorResponseUri() 공개 정적인 메소드

Generates a Uri with the error message in the query string.
public static GetErrorResponseUri ( this message, string errorCode, string errorDescription ) : string
message this Then incoming request message.
errorCode string The error code.
errorDescription string A description of the error.
리턴 string