---
title: "CspPolicyContext"
source: "https://github.com/remix-run/remix/blob/remix@3.2.0/packages/csp-middleware/src/lib/csp.ts#L13"
---

# CspPolicyContext

## Summary

Values available while creating a request's policy, before downstream handlers run.

## Signature

```ts
interface CspPolicyContext {
  context: RequestContext
  nonce: string
}

```

## Properties

### `context`

Current router request context.

### `nonce`

Cryptographically random nonce, shared with internal renders of this document.