C# Class MyTested.AspNetCore.Mvc.HttpRequestBuilderViewFeaturesExtensions

Contains IAntiforgery extension methods for IHttpRequestBuilder.
Afficher le fichier Open project: ivaylokenov/MyTested.AspNetCore.Mvc

Méthodes publiques

Méthode Description
WithAntiForgeryToken ( this httpRequestBuilder ) : IAndHttpRequestBuilder

Adds anti-forgery token to the Microsoft.AspNetCore.Http.HttpRequest.

Method Details

WithAntiForgeryToken() public static méthode

Adds anti-forgery token to the Microsoft.AspNetCore.Http.HttpRequest.
public static WithAntiForgeryToken ( this httpRequestBuilder ) : IAndHttpRequestBuilder
httpRequestBuilder this Instance of type.
Résultat IAndHttpRequestBuilder