# decodeJws

decodeJws in @provenanceauth/rails/deals, Rails. Split and parse a compact JWS (no signature check).

## Signature

```ts
decodeJws<P = Record<string, unknown>>(jws: string): DecodedJws<P> | null
```

## Parameters

- `jws` (string)

## Returns

`DecodedJws<P> | null`

Runs locally, with no request to the API.
