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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|