def token(self):
        '''Attempt to return the auth header token.

        :return: token related to request
        '''
        auth_header = self.headers.get('Authorization', '')
        if 'Token ' in auth_header:
            return auth_header.partition('Token ')[-1]
        else:
            return auth_header
Attempt to return the auth header token.

        :return: token related to request