You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Src/Fido2.Models/CredentialCreateOptions.cs
+21-28
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ public sealed class CredentialCreateOptions : Fido2ResponseBase
59
59
/// This member is intended for use by Relying Parties that wish to limit the creation of multiple credentials for the same account on a single authenticator.The client is requested to return an error if the new credential would be created on an authenticator that also contains one of the credentials enumerated in this parameter.
/// This OPTIONAL member contains additional parameters requesting additional processing by the client and authenticator. For example, if transaction confirmation is sought from the user, then the prompt string might be included as an extension.
@@ -85,8 +85,8 @@ public static CredentialCreateOptions Create(
/// The type member specifies the type of credential to be created.
136
132
/// </summary>
137
133
[JsonPropertyName("type")]
138
-
publicPublicKeyCredentialTypeType{get;}
134
+
publicPublicKeyCredentialTypeType{get;}=type;
139
135
140
136
/// <summary>
141
137
/// The alg member specifies the cryptographic signature algorithm with which the newly generated credential will be used, and thus also the type of asymmetric key pair to be generated, e.g., RSA or Elliptic Curve.
142
138
/// </summary>
143
139
[JsonPropertyName("alg")]
144
-
publicCOSE.AlgorithmAlg{get;}
140
+
publicCOSE.AlgorithmAlg{get;}=alg;
145
141
146
142
publicstaticreadonlyPubKeyCredParamES256=new(COSE.Algorithm.ES256);// External authenticators support the ES256 algorithm
:Fido2VerificationException($"Authenticator found with undesirable status. Was {statusReport.Status}")
7
8
{
8
-
publicUndesiredMetadataStatusFido2VerificationException(StatusReportstatusReport):base($"Authenticator found with undesirable status. Was {statusReport.Status}")
9
-
{
10
-
StatusReport=statusReport;
11
-
}
12
-
13
9
/// <summary>
14
10
/// Status report from the authenticator that caused the attestation to be rejected.
0 commit comments