SDK reference · Rails
ap2BindingHash
ap2BindingHash in @provenanceauth/rails/ap2, Rails. Sha256(canonical JSON) of the binding: the value a bound token carries as payload_hash.
Signature
ap2BindingHash(b: Ap2Binding): Promise<string>Parameters
bAp2BindingRequired
Returns
Promise<string>
HTTP operation
Runs locally, with no request to the API.