From 8254da7b87880d08b490b21c11221702df874ea3 Mon Sep 17 00:00:00 2001 From: Oscar Virot Date: Wed, 8 Jan 2025 19:57:58 +0100 Subject: [PATCH] Fix formating --- Module/types/FIDO2-Credentials.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Module/types/FIDO2-Credentials.cs b/Module/types/FIDO2-Credentials.cs index 3141d13..e5bf855 100644 --- a/Module/types/FIDO2-Credentials.cs +++ b/Module/types/FIDO2-Credentials.cs @@ -13,11 +13,13 @@ public class Credential public string? DisplayName { get; private set; } public string? UserName { get; private set; } public string? RPId { get; private set; } - public string? CredID { get + public string? CredID + { + get { byte[] credentialIdBytes = CredentialID.Id.ToArray(); - string credentialIdBase64 = Convert.ToBase64String(credentialIdBytes); + string credentialIdBase64 = Convert.ToBase64String(credentialIdBytes); return credentialIdBase64; } } @@ -35,4 +37,3 @@ public Credential(string RPId, string? UserName, string? DisplayName, Credential } } } - \ No newline at end of file