def info(self, token):
        """
        Return token information.

        :param token: A token
        :return: dictionary with info about the token
        """
        _res = dict(zip(['_id', 'type', 'sid', 'exp'],
                        self.split_token(token)))
        if _res['type'] != self.type:
            raise WrongTokenType(_res['type'])
        else:
            _res['handler'] = self
            _res['black_listed'] = self.is_black_listed(token)
            return _res
def info ( self , token ) : _res = dict ( zip ( [ '_id' , 'type' , 'sid' , 'exp' ] , self . split_token ( token ) ) ) if _res [ 'type' ] != self . type : raise WrongTokenType ( _res [ 'type' ] ) else : _res [ 'handler' ] = self _res [ 'black_listed' ] = self . is_black_listed ( token ) return _res
Return token information.

        :param token: A token
        :return: dictionary with info about the token