jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java
protected JsonResult tokenAsJson(final T authToken) {
		final JsonObject jsonObject = new JsonObject();

		jsonObject.put("token", userAuth.tokenValue(authToken));

		return JsonResult.of(jsonObject);
	}
protected JsonResult tokenAsJson(final T authToken) {
		final JsonObject jsonObject = new JsonObject();

		jsonObject.put("token", userAuth.tokenValue(authToken));

		return JsonResult.of(jsonObject);
	}
Prepares the JSON payload that carries on the token value.