createJwtClientAssertion
suspend fun createJwtClientAssertion(signingKey: AsymmetricKey, clientId: String, authorizationServerIdentifier: String): String
Generates Client Assertion JWT to authenticate a client to an OpenID authorization server using a client's private key.
NB: this is different from "Client Attestation"! In most cases Client Attestation should be used instead of the Client Assertion, but we support this for compatibility.
Return
client assertion JWT
Parameters
signingKey
client's private key
clientId
OpenID client_id value
authorizationServerIdentifier
authorization server's identifier (URL)