'Get the authorization token from Authorization header'

def get_auth_token(self):

    auth_header = self.request.headers.get('Authorization', '')
    match = auth_header_pat.match(auth_header)
    if (not match):
        return None
    return match.group(1)
