def decode_token(self, token):
        """
        Decode token
        A shorthand method to decode JWT token. Will return the payload as a
        dictionary
        :return: str, token
        :return: dict
        """
        return jwt.decode(
            token,
            self.jwt_secret,
            algorithms=[self.jwt_algo]
        )
Decode token
        A shorthand method to decode JWT token. Will return the payload as a
        dictionary
        :return: str, token
        :return: dict