def jwt_get_username_from_payload_handler(payload):
 return payload.get('username')

def jwt_get_username_from_payload_handler ( payload ) : return payload . get ( 'username' )
override this function if username is formatted differently in payload .