public FidoStartedRegistration(FidoAppId appId, string challenge) { if (appId == null) { throw new ArgumentNullException("appId"); } if (challenge == null) { throw new ArgumentNullException("challenge"); } AppId = appId; Challenge = challenge; }
public FidoStartedAuthentication(FidoAppId appId, string challenge, FidoKeyHandle keyHandle) { if (appId == null) { throw new ArgumentNullException("appId"); } if (challenge == null) { throw new ArgumentNullException("challenge"); } if (keyHandle == null) { throw new ArgumentNullException("keyHandle"); } AppId = appId; Challenge = challenge; KeyHandle = keyHandle; }