makeClientAssertion

Build a signed ES256 JWT client assertion (RFC 7523) for OAuth client authentication: iss/sub = client id, aud = the token endpoint.

@safe @safe
string
makeClientAssertion
(
string clientId
,
string audience
,,
long now
,
long lifetimeSeconds = 300
,
string jti = ""
)