issue Token
Issues a signed JWT as part of the authorization code grant.
Parameters
issuer Id
The path or identifier for the issuer.
client Id
The identifier for the client or Relying Party that requests the token.
token Callback
A callback that implements the OAuth2TokenCallback interface for token customization.
fun issueToken(issuerId: String = "default", subject: String = UUID.randomUUID().toString(), audience: String? = "default", claims: Map<String, Any> = emptyMap(), expiry: Long = 3600): SignedJWT
Convenience method for issuing a signed JWT with default values.
See issueToken.