UserPasswordCredentialInlineConverter class

The UserPasswordCredentialInlineConverter class is responsible for converting UserPasswordCredential objects.

Namespace: ASNA.DataGate.Providers.Serialization Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object –> JsonConverter –> JsonConverter<UserPasswordCredential>

Methods

Signature Description
Read(Utf8JsonReader&, Type, JsonSerializerOptions) Reads a UserPasswordCredential from a Utf8JsonReader.
Write(Utf8JsonWriter, UserPasswordCredential, JsonSerializerOptions) Writes a UserPasswordCredential to a Utf8JsonWriter.

UserPasswordCredential Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)

Reads a UserPasswordCredential from a Utf8JsonReader.

UserPasswordCredential Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

Type Parameter name Description
Utf8JsonReader& reader The Utf8JsonReader to read from.
Type typeToConvert The type of object to convert.
JsonSerializerOptions options Options for the serializer.

Returns

Type Description
UserPasswordCredential A UserPasswordCredential that was read from the Utf8JsonReader.

void Write(Utf8JsonWriter writer, UserPasswordCredential value, JsonSerializerOptions options)

Writes a UserPasswordCredential to a Utf8JsonWriter.

void Write(Utf8JsonWriter writer, UserPasswordCredential value, JsonSerializerOptions options)

Parameters

Type Parameter name Description
Utf8JsonWriter writer The Utf8JsonWriter to write to.
UserPasswordCredential value The UserPasswordCredential to write.
JsonSerializerOptions options Options for the serializer.