'List credentials for a specific user.'

def list_credentials_for_user(self, user_id, type=None):

    credentials = self.driver.list_credentials_for_user(user_id, type=type)
    for credential in credentials:
        credential = self._decrypt_credential(credential)
    return credentials
