AntiforgeryServiceCollectionExtensions AntiforgeryServiceCollectionExtensions AntiforgeryServiceCollectionExtensions Class

Definition

Extension methods for setting up antiforgery services in an IServiceCollection.

public static class AntiforgeryServiceCollectionExtensions
type AntiforgeryServiceCollectionExtensions = class
Public Module AntiforgeryServiceCollectionExtensions
Inheritance
AntiforgeryServiceCollectionExtensionsAntiforgeryServiceCollectionExtensionsAntiforgeryServiceCollectionExtensions

Methods

AddAntiforgery(IServiceCollection) AddAntiforgery(IServiceCollection) AddAntiforgery(IServiceCollection)

Adds antiforgery services to the specified IServiceCollection.

AddAntiforgery(IServiceCollection, Action<AntiforgeryOptions>) AddAntiforgery(IServiceCollection, Action<AntiforgeryOptions>) AddAntiforgery(IServiceCollection, Action<AntiforgeryOptions>)

Adds antiforgery services to the specified IServiceCollection.

Applies to