View as Markdown

SDK reference · Rails

decodeJws

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

Signature

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

Parameters

jwsstringRequired

Returns

DecodedJws<P> | null

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.