'Return a list of currently active authorizations
https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.4'

def get_authorizations(self):

    authz_list = {'authorizations': []}
    if (self._authz_list_uri is None):
        if ((self.data is not None) and ('authorizations' in self.data)):
            for auth in self.data['authorizations']:
                authz_list['authorizations'].append(auth['uri'])
        else:
            return []
    else:
        authz_list = simple_get(self.module, self._authz_list_uri)
    authz = []
    for auth_uri in authz_list['authorizations']:
        auth = simple_get(self.module, auth_uri)
        auth['uri'] = auth_uri
        authz.append(auth)
    return authz
