C# Class TwentyTwenty.IdentityServer4.EntityFrameworkCore.Serialization.ClientConverter

Inheritance: Newtonsoft.Json.JsonConverter
Mostra file Open project: 2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore Class Usage Examples

Public Methods

Method Description
CanConvert ( Type objectType ) : bool
ClientConverter ( IClientStore clientStore ) : IdentityServer4.Models
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Method Details

CanConvert() public method

public CanConvert ( Type objectType ) : bool
objectType System.Type
return bool

ClientConverter() public method

public ClientConverter ( IClientStore clientStore ) : IdentityServer4.Models
clientStore IClientStore
return IdentityServer4.Models

ReadJson() public method

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
return object

WriteJson() public method

public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value object
serializer Newtonsoft.Json.JsonSerializer
return void