Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
virot committed Jan 8, 2025
1 parent ec21d75 commit 8254da7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Module/types/FIDO2-Credentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -35,4 +37,3 @@ public Credential(string RPId, string? UserName, string? DisplayName, Credential
}
}
}

0 comments on commit 8254da7

Please sign in to comment.