createAccessToken

Method to generate access token.

Return

Token as a String

Parameters

authentication

Authentication as a JwtAuthentication