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> | nullParameters
jwsstringRequired
Returns
DecodedJws<P> | null
HTTP operation
Runs locally, with no request to the API.