setStatelessAuthentication add custom claims

I’m using setStatelessAuthentication, but it seems there’s no way to add custom claims, such as the user’s name.

Any suggestions on how to do that?