20 lines
676 B
C#
20 lines
676 B
C#
using CloudBuilder.Core.Authorization;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CloudBuilder.Security.Data
|
|
{
|
|
[TypeScript]
|
|
public class FinishBiometricRegistrationData
|
|
{
|
|
/// <summary>JSON the browser returns from navigator.credentials.create().</summary>
|
|
public string AttestationJson { get; set; } = null!;
|
|
|
|
/// <summary>The CredentialCreateOptions JSON we returned from BeginBiometricRegistration. Round-tripped because Fido2NetLib verifies the challenge against it.</summary>
|
|
public string CreationOptionsJson { get; set; } = null!;
|
|
}
|
|
}
|