C# Класс WindowsAzure.Acs.Oauth2.Client.WinRT.Protocol.OAuthMessageExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
CreateQueryString ( string>.Dictionary 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 ( string>.Dictionary parameters ) : string
parameters string>.Dictionary 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