def get_jwt_payload(self, obj):
    '\n        Define here, what data shall be encoded in JWT.\n        By default, entire object will be encoded.\n        '
    return obj
Define here, what data shall be encoded in JWT.
By default, entire object will be encoded.
def get_jwt_payload(self, obj):
    '\n        Define here, what data shall be encoded in JWT.\n        By default, entire object will be encoded.\n        '
    return obj