generateJWT

fun generateJWT(claims: Map<String, Any>): String

Generate a signed JWT with the supplied claims. The only claims automatically included are: nbf and exp

Return

signed JWT

Parameters

claims

map with claims to include into the JWT.

Throws

if called without starting the mocked oauth server