Nucleus .Net Core CMS

NonceExtensions Class

Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Extension for generating and retrieving the nonces for a HTTP request.
Nonce (HttpContext httpContext)
Retrieves the nonce for the current HTTP request. If no nonce is found, a new one is generated and stored in the request Items dictionary.
Parameters
Name Type
httpContext Microsoft.AspNetCore.Http.HttpContext