Parses the authorization headers from the authorization header taken from a request.
        Returns a dict that is accepted by all other API functions which expect authorization headers in a dict format.
        parse_auth_headers(unroll_auth_headers(A)) should return a dict that is equal to A.

        Keyword arguments:
        authorization -- The authorization header of any request. The header must be in a format understood by v2.

def parse_auth_headers(self, authorization):
        """Parses the authorization headers from the authorization header taken from a request.
        Returns a dict that is accepted by all other API functions which expect authorization headers in a dict format.
        parse_auth_headers(unroll_auth_headers(A)) should return a dict that is equal to A.

        Keyword arguments:
        authorization -- The authorization header of any request. The header must be in a format understood by v2.
        """
        matches = re.findall(r'(\w+)="(.*?)"', authorization)
        return dict(matches)