AntiforgeryServiceCollectionExtensions Class

Definition

Extension methods for setting up antiforgery services in an IServiceCollection.

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

Methods

AddAntiforgery(IServiceCollection)

Adds antiforgery services to the specified IServiceCollection.

AddAntiforgery(IServiceCollection, Action<AntiforgeryOptions>)

Adds antiforgery services to the specified IServiceCollection.

Applies to