TestTokenCreator.CreateJsonPayload(IDictionary<String,Object>) Method

Definition

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.

Applies to