GetAuth high level function implemented.