You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
487 lines
27 KiB
487 lines
27 KiB
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>Microsoft.AspNetCore.Cors</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions">
|
|
<summary>
|
|
Extension methods for setting up cross-origin resource sharing services in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions.AddCors(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds cross-origin resource sharing services to the specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
|
|
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> so that additional calls can be chained.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions.AddCors(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions})">
|
|
<summary>
|
|
Adds cross-origin resource sharing services to the specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
|
|
<param name="setupAction">An <see cref="T:System.Action`1"/> to configure the provided <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions"/>.</param>
|
|
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> so that additional calls can be chained.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.DisableCorsAttribute">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.EnableCorsAttribute">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.EnableCorsAttribute.#ctor(System.String)">
|
|
<summary>
|
|
Creates a new instance of the <see cref="T:Microsoft.AspNetCore.Cors.EnableCorsAttribute"/>.
|
|
</summary>
|
|
<param name="policyName">The name of the policy to be applied.</param>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.EnableCorsAttribute.PolicyName">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Resources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Resources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Resources.Culture">
|
|
<summary>
|
|
Overrides the current thread's CurrentUICulture property for all
|
|
resource lookups using this strongly typed resource class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Resources.PreflightMaxAgeOutOfRange">
|
|
<summary>
|
|
Looks up a localized string similar to PreflightMaxAge must be greater than or equal to 0..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants">
|
|
<summary>
|
|
CORS-related constants.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.PreflightHttpMethod">
|
|
<summary>
|
|
The HTTP method for the CORS preflight request.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.Origin">
|
|
<summary>
|
|
The Origin request header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AnyOrigin">
|
|
<summary>
|
|
The value for the Access-Control-Allow-Origin response header to allow all origins.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlRequestMethod">
|
|
<summary>
|
|
The Access-Control-Request-Method request header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlRequestHeaders">
|
|
<summary>
|
|
The Access-Control-Request-Headers request header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlAllowOrigin">
|
|
<summary>
|
|
The Access-Control-Allow-Origin response header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlAllowHeaders">
|
|
<summary>
|
|
The Access-Control-Allow-Headers response header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlExposeHeaders">
|
|
<summary>
|
|
The Access-Control-Expose-Headers response header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlAllowMethods">
|
|
<summary>
|
|
The Access-Control-Allow-Methods response header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlAllowCredentials">
|
|
<summary>
|
|
The Access-Control-Allow-Credentials response header.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants.AccessControlMaxAge">
|
|
<summary>
|
|
The Access-Control-Max-Age response header.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware">
|
|
<summary>
|
|
An ASP.NET middleware for handling CORS.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.#ctor(Microsoft.AspNetCore.Http.RequestDelegate,Microsoft.AspNetCore.Cors.Infrastructure.ICorsService,Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider,System.String)">
|
|
<summary>
|
|
Instantiates a new <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware"/>.
|
|
</summary>
|
|
<param name="next">The next middleware in the pipeline.</param>
|
|
<param name="corsService">An instance of <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.ICorsService"/>.</param>
|
|
<param name="policyProvider">A policy provider which can get an <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/>.</param>
|
|
<param name="policyName">An optional name of the policy to be fetched.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.#ctor(Microsoft.AspNetCore.Http.RequestDelegate,Microsoft.AspNetCore.Cors.Infrastructure.ICorsService,Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy)">
|
|
<summary>
|
|
Instantiates a new <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware"/>.
|
|
</summary>
|
|
<param name="next">The next middleware in the pipeline.</param>
|
|
<param name="corsService">An instance of <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.ICorsService"/>.</param>
|
|
<param name="policy">An instance of the <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/> which can be applied.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions">
|
|
<summary>
|
|
Provides programmatic configuration for Cors.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(System.String,Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy)">
|
|
<summary>
|
|
Adds a new policy.
|
|
</summary>
|
|
<param name="name">The name of the policy.</param>
|
|
<param name="policy">The <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/> policy to be added.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(System.String,System.Action{Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder})">
|
|
<summary>
|
|
Adds a new policy.
|
|
</summary>
|
|
<param name="name">The name of the policy.</param>
|
|
<param name="configurePolicy">A delegate which can use a policy builder to build a policy.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.GetPolicy(System.String)">
|
|
<summary>
|
|
Gets the policy based on the <paramref name="name"/>
|
|
</summary>
|
|
<param name="name">The name of the policy to lookup.</param>
|
|
<returns>The <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/> if the policy was added.<c>null</c> otherwise.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy">
|
|
<summary>
|
|
Defines the policy for Cross-Origin requests based on the CORS specifications.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.AllowAnyHeader">
|
|
<summary>
|
|
Gets a value indicating if all headers are allowed.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.AllowAnyMethod">
|
|
<summary>
|
|
Gets a value indicating if all methods are allowed.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.AllowAnyOrigin">
|
|
<summary>
|
|
Gets a value indicating if all origins are allowed.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.ExposedHeaders">
|
|
<summary>
|
|
Gets the headers that the resource might use and can be exposed.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.Headers">
|
|
<summary>
|
|
Gets the headers that are supported by the resource.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.Methods">
|
|
<summary>
|
|
Gets the methods that are supported by the resource.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.Origins">
|
|
<summary>
|
|
Gets the origins that are allowed to access the resource.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.PreflightMaxAge">
|
|
<summary>
|
|
Gets or sets the <see cref="T:System.TimeSpan"/> for which the results of a preflight request can be cached.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.SupportsCredentials">
|
|
<summary>
|
|
Gets or sets a value indicating whether the resource supports user credentials in the request.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.ToString">
|
|
<summary>
|
|
Returns a <see cref="T:System.String" /> that represents this instance.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that represents this instance.
|
|
</returns>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder">
|
|
<summary>
|
|
Exposes methods to build a policy.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.#ctor(System.String[])">
|
|
<summary>
|
|
Creates a new instance of the <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder"/>.
|
|
</summary>
|
|
<param name="origins">list of origins which can be added.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.#ctor(Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy)">
|
|
<summary>
|
|
Creates a new instance of the <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder"/>.
|
|
</summary>
|
|
<param name="policy">The policy which will be used to intialize the builder.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithOrigins(System.String[])">
|
|
<summary>
|
|
Adds the specified <paramref name="origins"/> to the policy.
|
|
</summary>
|
|
<param name="origins">The origins that are allowed.</param>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithHeaders(System.String[])">
|
|
<summary>
|
|
Adds the specified <paramref name="headers"/> to the policy.
|
|
</summary>
|
|
<param name="headers">The headers which need to be allowed in the request.</param>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithExposedHeaders(System.String[])">
|
|
<summary>
|
|
Adds the specified <paramref name="exposedHeaders"/> to the policy.
|
|
</summary>
|
|
<param name="exposedHeaders">The headers which need to be exposed to the client.</param>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithMethods(System.String[])">
|
|
<summary>
|
|
Adds the specified <paramref name="methods"/> to the policy.
|
|
</summary>
|
|
<param name="methods">The methods which need to be added to the policy.</param>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowCredentials">
|
|
<summary>
|
|
Sets the policy to allow credentials.
|
|
</summary>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.DisallowCredentials">
|
|
<summary>
|
|
Sets the policy to not allow credentials.
|
|
</summary>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyOrigin">
|
|
<summary>
|
|
Ensures that the policy allows any origin.
|
|
</summary>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyMethod">
|
|
<summary>
|
|
Ensures that the policy allows any method.
|
|
</summary>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyHeader">
|
|
<summary>
|
|
Ensures that the policy allows any header.
|
|
</summary>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.SetPreflightMaxAge(System.TimeSpan)">
|
|
<summary>
|
|
Sets the preflightMaxAge for the underlying policy.
|
|
</summary>
|
|
<param name="preflightMaxAge">A positive <see cref="T:System.TimeSpan"/> indicating the time a preflight
|
|
request can be cached.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.Build">
|
|
<summary>
|
|
Builds a new <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/> using the entries added.
|
|
</summary>
|
|
<returns>The constructed <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.Combine(Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy)">
|
|
<summary>
|
|
Combines the given <paramref name="policy"/> to the existing properties in the builder.
|
|
</summary>
|
|
<param name="policy">The policy which needs to be combined.</param>
|
|
<returns>The current policy builder</returns>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult">
|
|
<summary>
|
|
Results returned by <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.ICorsService"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.AllowedOrigin">
|
|
<summary>
|
|
Gets or sets the allowed origin.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.SupportsCredentials">
|
|
<summary>
|
|
Gets or sets a value indicating whether the resource supports user credentials.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.AllowedMethods">
|
|
<summary>
|
|
Gets the allowed methods.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.AllowedHeaders">
|
|
<summary>
|
|
Gets the allowed headers.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.AllowedExposedHeaders">
|
|
<summary>
|
|
Gets the allowed headers that can be exposed on the response.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.VaryByOrigin">
|
|
<summary>
|
|
Gets or sets a value indicating if a 'Vary' header with the value 'Origin' is required.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.PreflightMaxAge">
|
|
<summary>
|
|
Gets or sets the <see cref="T:System.TimeSpan"/> for which the results of a preflight request can be cached.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.ToString">
|
|
<summary>
|
|
Returns a <see cref="T:System.String" /> that represents this instance.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String" /> that represents this instance.
|
|
</returns>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsService">
|
|
<summary>
|
|
Default implementation of <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.ICorsService"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsService.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions})">
|
|
<summary>
|
|
Creates a new instance of the <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsService"/>.
|
|
</summary>
|
|
<param name="options">The option model representing <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions"/>.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext,System.String)">
|
|
<summary>
|
|
Looks up a policy using the <paramref name="policyName"/> and then evaluates the policy using the passed in
|
|
<paramref name="context"/>.
|
|
</summary>
|
|
<param name="context"></param>
|
|
<param name="policyName"></param>
|
|
<returns>A <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult"/> which contains the result of policy evaluation and can be
|
|
used by the caller to set appropriate response headers.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.CorsService.ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult,Microsoft.AspNetCore.Http.HttpResponse)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions})">
|
|
<summary>
|
|
Creates a new instance of <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider"/>.
|
|
</summary>
|
|
<param name="options">The options configured for the application.</param>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider.GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext,System.String)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider">
|
|
<summary>
|
|
A type which can provide a <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/> for a particular <see cref="T:Microsoft.AspNetCore.Http.HttpContext"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider.GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext,System.String)">
|
|
<summary>
|
|
Gets a <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/> from the given <paramref name="context"/>
|
|
</summary>
|
|
<param name="context">The <see cref="T:Microsoft.AspNetCore.Http.HttpContext"/> associated with this call.</param>
|
|
<param name="policyName">An optional policy name to look for.</param>
|
|
<returns>A <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/></returns>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.ICorsService">
|
|
<summary>
|
|
A type which can evaluate a policy for a particular <see cref="T:Microsoft.AspNetCore.Http.HttpContext"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy)">
|
|
<summary>
|
|
Evaluates the given <paramref name="policy"/> using the passed in <paramref name="context"/>.
|
|
</summary>
|
|
<param name="context">The <see cref="T:Microsoft.AspNetCore.Http.HttpContext"/> associated with the call.</param>
|
|
<param name="policy">The <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"/> which needs to be evaluated.</param>
|
|
<returns>A <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult"/> which contains the result of policy evaluation and can be
|
|
used by the caller to set appropriate response headers.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult,Microsoft.AspNetCore.Http.HttpResponse)">
|
|
<summary>
|
|
Adds CORS-specific response headers to the given <paramref name="response"/>.
|
|
</summary>
|
|
<param name="result">The <see cref="T:Microsoft.AspNetCore.Cors.Infrastructure.CorsResult"/> used to read the allowed values.</param>
|
|
<param name="response">The <see cref="T:Microsoft.AspNetCore.Http.HttpResponse"/> associated with the current call.</param>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute">
|
|
<summary>
|
|
An interface which can be used to identify a type which provides metdata to disable cors for a resource.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute">
|
|
<summary>
|
|
An interface which can be used to identify a type which provides metadata needed for enabling CORS support.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute.PolicyName">
|
|
<summary>
|
|
The name of the policy which needs to be applied.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions">
|
|
<summary>
|
|
The <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder"/> extensions for adding CORS middleware support.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions.UseCors(Microsoft.AspNetCore.Builder.IApplicationBuilder,System.String)">
|
|
<summary>
|
|
Adds a CORS middleware to your web application pipeline to allow cross domain requests.
|
|
</summary>
|
|
<param name="app">The IApplicationBuilder passed to your Configure method</param>
|
|
<param name="policyName">The policy name of a configured policy.</param>
|
|
<returns>The original app parameter</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions.UseCors(Microsoft.AspNetCore.Builder.IApplicationBuilder,System.Action{Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder})">
|
|
<summary>
|
|
Adds a CORS middleware to your web application pipeline to allow cross domain requests.
|
|
</summary>
|
|
<param name="app">The IApplicationBuilder passed to your Configure method.</param>
|
|
<param name="configurePolicy">A delegate which can use a policy builder to build a policy.</param>
|
|
<returns>The original app parameter</returns>
|
|
</member>
|
|
</members>
|
|
</doc>
|