Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MockAntiForgeryConfig.cs « AntiXsrf « Helpers « System.Web.WebPages.Test « test - github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 336ed4f85714a7cb9288d26a9d99c7a96d5a3798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// 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;
        }
    }
}