From a6b82e417016a1f99d8744e74adb2755171ed463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Mon, 18 Nov 2024 17:20:29 +0100 Subject: [PATCH] Added XML comment --- Src/Fido2.Models/Converters/Base64UrlConverter.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Src/Fido2.Models/Converters/Base64UrlConverter.cs b/Src/Fido2.Models/Converters/Base64UrlConverter.cs index 0c2d40ff..e67bab25 100644 --- a/Src/Fido2.Models/Converters/Base64UrlConverter.cs +++ b/Src/Fido2.Models/Converters/Base64UrlConverter.cs @@ -12,6 +12,9 @@ namespace Fido2NetLib; /// public sealed class Base64UrlConverter : JsonConverter { + /// + /// If set to true, the converter will attempt to decode Base64 encoding if Base64Url decoding fails. Intended for fallback purposes only and should be used temporarily. + /// public static bool EnableRelaxedDecoding { get; set; } public override byte[] Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)