getAuthentication

Method to get authentication. Implemented differently depending on the JwtAuthentication implementation used.

Return

Authentication as a JwtAuthentication

Parameters

token

Token as a String