diff --git a/build/common.props b/build/common.props
index 1f1fbe023d..dc3d395f64 100644
--- a/build/common.props
+++ b/build/common.props
@@ -16,7 +16,7 @@
-
-
+
+
diff --git a/build/dependencies.props b/build/dependencies.props
index 226b77c333..1a75c90b26 100644
--- a/build/dependencies.props
+++ b/build/dependencies.props
@@ -3,7 +3,7 @@
2.0.0-*
2.1.0-*
4.7.1
- $(BundledNETStandardPackageVersion)
+ 2.0.0-*
15.3.0-*
2.3.0-beta2-*
diff --git a/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj b/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj
index 12b72a69c3..2e8ce21e1a 100644
--- a/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj
+++ b/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj
@@ -4,7 +4,7 @@
An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks.
- netcoreapp2.0
+ netstandard2.0
$(NoWarn);CS1591
true
aspnetcore;antiforgery
diff --git a/src/Microsoft.AspNetCore.Antiforgery/baseline.netframework.json b/src/Microsoft.AspNetCore.Antiforgery/baseline.netframework.json
deleted file mode 100644
index 9117fb75fd..0000000000
--- a/src/Microsoft.AspNetCore.Antiforgery/baseline.netframework.json
+++ /dev/null
@@ -1,1875 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Antiforgery, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.Extensions.DependencyInjection.AntiforgeryServiceCollectionExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AddAntiforgery",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAntiforgery",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- },
- {
- "Name": "setupAction",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_CookieName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FormFieldName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_FormFieldName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HeaderName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HeaderName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_RequireSsl",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_RequireSsl",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SuppressXFrameOptionsHeader",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SuppressXFrameOptionsHeader",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "DefaultCookiePrefix",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_RequestToken",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FormFieldName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HeaderName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieToken",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "requestToken",
- "Type": "System.String"
- },
- {
- "Name": "cookieToken",
- "Type": "System.String"
- },
- {
- "Name": "formFieldName",
- "Type": "System.String"
- },
- {
- "Name": "headerName",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "System.Exception",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "message",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.IAntiforgery",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAndStoreTokens",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokens",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsRequestValidAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ValidateRequestAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetCookieTokenAndHeader",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAdditionalData",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ValidateAdditionalData",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "additionalData",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryFeature",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_HaveDeserializedCookieToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveDeserializedCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HaveDeserializedRequestToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveDeserializedRequestToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_RequestToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_RequestToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HaveGeneratedNewCookieToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveGeneratedNewCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewCookieToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewCookieTokenString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewCookieTokenString",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewRequestToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewRequestToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewRequestTokenString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewRequestTokenString",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HaveStoredNewCookieToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveStoredNewCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryOptionsSetup",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "Microsoft.Extensions.Options.ConfigureOptions",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ConfigureOptions",
- "Parameters": [
- {
- "Name": "options",
- "Type": "Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions"
- },
- {
- "Name": "dataProtectionOptions",
- "Type": "Microsoft.AspNetCore.DataProtection.DataProtectionOptions"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "dataProtectionOptionsAccessor",
- "Type": "Microsoft.Extensions.Options.IOptions"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgerySerializationContext",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Stream",
- "Parameters": [],
- "ReturnType": "System.IO.MemoryStream",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Reader",
- "Parameters": [],
- "ReturnType": "System.IO.BinaryReader",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Writer",
- "Parameters": [],
- "ReturnType": "System.IO.BinaryWriter",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Sha256",
- "Parameters": [],
- "ReturnType": "System.Security.Cryptography.SHA256",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetChars",
- "Parameters": [
- {
- "Name": "count",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "System.Char[]",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Reset",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgerySerializationContextPooledObjectPolicy",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.Extensions.ObjectPool.IPooledObjectPolicy"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Create",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgerySerializationContext",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.Extensions.ObjectPool.IPooledObjectPolicy",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Return",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgerySerializationContext"
- }
- ],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.Extensions.ObjectPool.IPooledObjectPolicy",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_AdditionalData",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_AdditionalData",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ClaimUid",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.BinaryBlob",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ClaimUid",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.BinaryBlob"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_IsCookieToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_IsCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SecurityToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.BinaryBlob",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SecurityToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.BinaryBlob"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Username",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Username",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.BinaryBlob",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "System.IEquatable"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_BitLength",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "other",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.BinaryBlob"
- }
- ],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "System.IEquatable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetData",
- "Parameters": [],
- "ReturnType": "System.Byte[]",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "bitLength",
- "Type": "System.Int32"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "bitLength",
- "Type": "System.Int32"
- },
- {
- "Name": "data",
- "Type": "System.Byte[]"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Antiforgery.IAntiforgery"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAndStoreTokens",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.IAntiforgery",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokens",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.IAntiforgery",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsRequestValidAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.IAntiforgery",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ValidateRequestAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.IAntiforgery",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetCookieTokenAndHeader",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.IAntiforgery",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "antiforgeryOptionsAccessor",
- "Type": "Microsoft.Extensions.Options.IOptions"
- },
- {
- "Name": "tokenGenerator",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenGenerator"
- },
- {
- "Name": "tokenSerializer",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenSerializer"
- },
- {
- "Name": "tokenStore",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenStore"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryAdditionalDataProvider",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAdditionalData",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.String",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ValidateAdditionalData",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "additionalData",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenGenerator",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenGenerator"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GenerateCookieToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenGenerator",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GenerateRequestToken",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "cookieToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenGenerator",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsCookieTokenValid",
- "Parameters": [
- {
- "Name": "cookieToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenGenerator",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryValidateTokenSet",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "cookieToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- },
- {
- "Name": "requestToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- },
- {
- "Name": "message",
- "Type": "System.String",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenGenerator",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "claimUidExtractor",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.IClaimUidExtractor"
- },
- {
- "Name": "additionalDataProvider",
- "Type": "Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenSerializer",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenSerializer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Deserialize",
- "Parameters": [
- {
- "Name": "serializedToken",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenSerializer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Serialize",
- "Parameters": [
- {
- "Name": "token",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenSerializer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "provider",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"
- },
- {
- "Name": "pool",
- "Type": "Microsoft.Extensions.ObjectPool.ObjectPool"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenStore",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenStore"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetCookieToken",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenStore",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetRequestTokensAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenStore",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SaveCookieToken",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "token",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenStore",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "optionsAccessor",
- "Type": "Microsoft.Extensions.Options.IOptions"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.DefaultClaimUidExtractor",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Antiforgery.Internal.IClaimUidExtractor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ExtractClaimUid",
- "Parameters": [
- {
- "Name": "claimsPrincipal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- }
- ],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Antiforgery.Internal.IClaimUidExtractor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetUniqueIdentifierParameters",
- "Parameters": [
- {
- "Name": "claimsIdentities",
- "Type": "System.Collections.Generic.IEnumerable"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "pool",
- "Type": "Microsoft.Extensions.ObjectPool.ObjectPool"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryFeature",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_CookieToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HaveDeserializedCookieToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveDeserializedCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HaveDeserializedRequestToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveDeserializedRequestToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HaveGeneratedNewCookieToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveGeneratedNewCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HaveStoredNewCookieToken",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HaveStoredNewCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewCookieToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewCookieToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewCookieTokenString",
- "Parameters": [],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewCookieTokenString",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewRequestToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewRequestToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewRequestTokenString",
- "Parameters": [],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewRequestTokenString",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_RequestToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_RequestToken",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenGenerator",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GenerateCookieToken",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GenerateRequestToken",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "cookieToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsCookieTokenValid",
- "Parameters": [
- {
- "Name": "cookieToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryValidateTokenSet",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "cookieToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- },
- {
- "Name": "requestToken",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- },
- {
- "Name": "message",
- "Type": "System.String",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenSerializer",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Deserialize",
- "Parameters": [
- {
- "Name": "serializedToken",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Serialize",
- "Parameters": [
- {
- "Name": "token",
- "Type": "Microsoft.AspNetCore.Antiforgery.Internal.AntiforgeryToken"
- }
- ],
- "ReturnType": "System.String",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.IAntiforgeryTokenStore",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetCookieToken",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetRequestTokensAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SaveCookieToken",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "token",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.Internal.IClaimUidExtractor",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ExtractClaimUid",
- "Parameters": [
- {
- "Name": "claimsPrincipal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- }
- ],
- "ReturnType": "System.String",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj b/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj
index f88af18dda..021d56162a 100644
--- a/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj
+++ b/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj
@@ -3,7 +3,8 @@
- netcoreapp2.0
+ netcoreapp2.0;net461
+ netcoreapp2.0