public static IHttpMessageSigningVerificationBuilder UseFileSystemNonceStore( this IHttpMessageSigningVerificationBuilder builder, FileSystemNonceStoreSettings nonceStoreSettings) { if (builder == null) { throw new ArgumentNullException(nameof(builder)); } if (nonceStoreSettings == null) { throw new ArgumentNullException(nameof(nonceStoreSettings)); } return(builder.UseFileSystemNonceStore(prov => nonceStoreSettings)); }
public FileSystemNonceStoreSettingsTests() { _sut = new FileSystemNonceStoreSettings { FilePath = "C:\\ProgramData\\Nonces.xml" }; }