Table of Contents

Class JwtPayloadConverter

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class JwtPayloadConverter : JsonConverter<Dictionary<ClaimName, List<string>>>
Inheritance
JwtPayloadConverter
Extension Methods

Constructors

JwtPayloadConverter()

public JwtPayloadConverter()

Properties

CanRead

public override bool CanRead { get; }

Property Value

bool

CanWrite

public override bool CanWrite { get; }

Property Value

bool

Methods

ReadJson(JsonReader, Type, Dictionary<ClaimName, List<string>>, bool, JsonSerializer)

public override Dictionary<ClaimName, List<string>> ReadJson(JsonReader reader, Type objectType, Dictionary<ClaimName, List<string>> existingValue, bool hasExistingValue, JsonSerializer serializer)

Parameters

reader JsonReader
objectType Type
existingValue Dictionary<ClaimName, List<string>>
hasExistingValue bool
serializer JsonSerializer

Returns

Dictionary<ClaimName, List<string>>

WriteJson(JsonWriter, Dictionary<ClaimName, List<string>>, JsonSerializer)

public override void WriteJson(JsonWriter writer, Dictionary<ClaimName, List<string>> value, JsonSerializer serializer)

Parameters

writer JsonWriter
value Dictionary<ClaimName, List<string>>
serializer JsonSerializer