TestTokenCreator.CreateJsonPayload(IDictionary<String,Object>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a JSON payload based on the passed IDictionary<TKey,TValue>of claims.
public static string CreateJsonPayload (System.Collections.Generic.IDictionary<string,object> claims);
static member CreateJsonPayload : System.Collections.Generic.IDictionary<string, obj> -> string
Public Shared Function CreateJsonPayload (claims As IDictionary(Of String, Object)) As String
Parameters
- claims
- IDictionary<String,Object>
The Dictionary<TKey,TValue> of claims which describe the payload to create.
Returns
A JSON payload based on the passed claims
.