Skip to content

Adding example of AntiForgery scenarios with standards Web APIs #26350

@brunolins16

Description

@brunolins16

Part of dotnet/aspnetcore#42586

Was decided to not have any in-box default behavior for both (API controllers and Minimal APIs), however, we should add an example of how the users could implement it using IAntiforgery services.

Here is a sample code with the server implementation: https://gist.github.com/brunolins16/3d11b2fd9861afaec22e79abfc2a55fd


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions