a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
44 lines
854 B
C#
44 lines
854 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
|
|
|
|
namespace System.Web.Helpers.AntiXsrf.Test
|
|
{
|
|
public sealed class MockAntiForgeryConfig : IAntiForgeryConfig
|
|
{
|
|
public IAntiForgeryAdditionalDataProvider AdditionalDataProvider
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string CookieName
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string FormFieldName
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public bool RequireSSL
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public bool SuppressIdentityHeuristicChecks
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string UniqueClaimTypeIdentifier
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|