456 lines
12 KiB
JSON
456 lines
12 KiB
JSON
{
|
|
"AssemblyIdentity": "Microsoft.AspNetCore.Antiforgery, Version=2.1.1.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<Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions>"
|
|
}
|
|
],
|
|
"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_Cookie",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Http.CookieBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_Cookie",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "Microsoft.AspNetCore.Http.CookieBuilder"
|
|
}
|
|
],
|
|
"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_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": "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_CookiePath",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Nullable<Microsoft.AspNetCore.Http.PathString>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_CookiePath",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.Nullable<Microsoft.AspNetCore.Http.PathString>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_CookieDomain",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_CookieDomain",
|
|
"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": "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": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "message",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "innerException",
|
|
"Type": "System.Exception"
|
|
}
|
|
],
|
|
"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<System.Boolean>",
|
|
"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": []
|
|
}
|
|
]
|
|
} |