generate

fun generate(did: <Error class: unknown class>, pfiDid: String, assertionMethodId: String? = null): String

Generate request token.

Return

signed request token to be included as Authorization header for sending to PFI endpoints

Parameters

did

DID of the token creator

pfiDid

DID of the PFI

assertionMethodId