Added a helper method for AuthScheme.
Working on "high level" api design... (initial attempt)