How do I get Auth Token from JWT token

I am trying to get the Bearer access token from the TokenAuthentication in Java. I can get it from the token like this…

 Tokens tokens = controller.handle(req);
 tokens.accessToken

But how do I get it once the TokenAuthentication is created?

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?