C# Class Microsoft.Identity.Client.Internal.EncodingHelper

The encoding helper.
Datei anzeigen Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Public Methods

Method Description
AddKeyValueString ( StringBuilder messageBuilder, string key, string value ) : void
ParseKeyValueList ( string input, char delimiter, bool urlDecode, CallState callState ) : string>.Dictionary
ParseKeyValueList ( string input, char delimiter, bool urlDecode, bool lowercaseKeys, CallState callState ) : string>.Dictionary
SecureClear ( this stringBuilder ) : void
ToByteArray ( this stringInput ) : byte[]
ToQueryParameter ( string>.this input ) : string
UrlDecode ( string message ) : string
UrlEncode ( string message ) : string

Private Methods

Method Description
AddKeyValueString ( StringBuilder messageBuilder, string key, char value ) : void
Base64Decode ( string encodedString ) : string
Base64Encode ( string input ) : string
GetString ( byte bytes ) : string
SplitWithQuotes ( string input, char delimiter ) : List
UrlEncode ( char message ) : char[]

Method Details

AddKeyValueString() public static method

public static AddKeyValueString ( StringBuilder messageBuilder, string key, string value ) : void
messageBuilder StringBuilder
key string
value string
return void

ParseKeyValueList() public static method

public static ParseKeyValueList ( string input, char delimiter, bool urlDecode, CallState callState ) : string>.Dictionary
input string
delimiter char
urlDecode bool
callState CallState
return string>.Dictionary

ParseKeyValueList() public static method

public static ParseKeyValueList ( string input, char delimiter, bool urlDecode, bool lowercaseKeys, CallState callState ) : string>.Dictionary
input string
delimiter char
urlDecode bool
lowercaseKeys bool
callState CallState
return string>.Dictionary

SecureClear() public static method

public static SecureClear ( this stringBuilder ) : void
stringBuilder this
return void

ToByteArray() public static method

public static ToByteArray ( this stringInput ) : byte[]
stringInput this
return byte[]

ToQueryParameter() public static method

public static ToQueryParameter ( string>.this input ) : string
input string>.this
return string

UrlDecode() public static method

public static UrlDecode ( string message ) : string
message string
return string

UrlEncode() public static method

public static UrlEncode ( string message ) : string
message string
return string