我發現這個在這裏:https://code.google.com/p/google-api-dotnet-client/source/browse/Src/GoogleApis/Apis/Authentication/IAuthenticator.cs?r=e6585033994bfb3a24d4c140db834cb14b9738b2
namespace Google.Apis.Authentication
{
/// <summary>
/// Classes that implement this interface will know how
/// a WebRequest with the approreate authentication embed in the request.
/// </summary>
[Obsolete("IAuthenticator is not supported any more and it's going to be removed in 1.7.0-beta. " +
"Consider using UserCredential or ServiceAccountCredential from the new Google.Apis.Auth NuGet package " +
"which supports .NET 4, .NET for Windows, Store apps, Windows Phone 7.5 and 8 and Portable Class " +
"Libraries as well")]
public interface IAuthenticator
{
/// <summary>
/// Takes an existing httpwebrequest and modifies its headers according to
/// the authentication system used.
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
void ApplyAuthenticationToRequest(HttpWebRequest request);
}
}