Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
abergs committed Nov 18, 2024
1 parent ab35c93 commit 6dddf89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Demo/TestController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public OkObjectResult MakeCredentialOptionsTest([FromBody] TEST_MakeCredentialPa
AttestationPreference = opts.Attestation,
Extensions = exts,
// Conformance tools requires RS1, but it's deprecated
PubKeyCredParams = [..PubKeyCredParam.Defaults, PubKeyCredParam.RS1]
PubKeyCredParams = [.. PubKeyCredParam.Defaults, PubKeyCredParam.RS1]
});

// 4. Temporarily store options, session/in-memory cache/redis/db
Expand Down
8 changes: 4 additions & 4 deletions Src/Fido2.Models/CredentialCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public static CredentialCreateOptions Create(
AttestationConveyancePreference attestationConveyancePreference,
IReadOnlyList<PublicKeyCredentialDescriptor> excludeCredentials,
AuthenticationExtensionsClientInputs extensions,
IReadOnlyList<PubKeyCredParam> pubKeyCredParams)
IReadOnlyList<PubKeyCredParam> pubKeyCredParams)

{
return new CredentialCreateOptions
{
Expand Down Expand Up @@ -183,8 +183,8 @@ public sealed class PubKeyCredParam(
public static readonly PubKeyCredParam PS384 = new(COSE.Algorithm.PS384);
public static readonly PubKeyCredParam PS512 = new(COSE.Algorithm.PS512);
public static readonly PubKeyCredParam Ed25519 = new(COSE.Algorithm.EdDSA);
public static readonly PubKeyCredParam RS1 = new(COSE.Algorithm.RS1);
public static readonly PubKeyCredParam RS1 = new(COSE.Algorithm.RS1);

/// <summary>
/// The default algorithms supported by the library
/// </summary>
Expand Down

0 comments on commit 6dddf89

Please sign in to comment.