SDK reference · Rails
decodeAp2SdJwt
decodeAp2SdJwt in @provenanceauth/rails/ap2, Rails. Parse an SD-JWT, or a ~~-joined chain of them as AP2's delegate examples print, into its parts, and resolve the disclosed content.
Signature
decodeAp2SdJwt(serialized: string): Ap2SdJwt[]Parameters
serializedstringRequired
Returns
Ap2SdJwt[]
HTTP operation
Runs locally, with no request to the API.