method

get_credentials

get_credentials()
private

Gets credentials based on user, domain or both. If both are nil, an error occurs