get the token

def token(self):
        """
        get the token
        """
        header = self.default_headers.get('Authorization', '')
        prefex = 'Bearer '
        if header.startswith(prefex):
            token = header[len(prefex):]
        else:
            token = header
        return token