From 12855fc68201962311ba1474243809e2d3953964 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 24 Aug 2015 16:43:23 -0700 Subject: polishing public docs --- src/csharp/Grpc.Auth/AuthInterceptors.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/csharp/Grpc.Auth/AuthInterceptors.cs') diff --git a/src/csharp/Grpc.Auth/AuthInterceptors.cs b/src/csharp/Grpc.Auth/AuthInterceptors.cs index 61338f7f0e..c8ab4d9af6 100644 --- a/src/csharp/Grpc.Auth/AuthInterceptors.cs +++ b/src/csharp/Grpc.Auth/AuthInterceptors.cs @@ -41,7 +41,8 @@ using Grpc.Core.Utils; namespace Grpc.Auth { /// - /// Factory methods to create authorization interceptors. + /// Factory methods to create authorization interceptors. Interceptors created can be registered with gRPC client classes (autogenerated client stubs that + /// inherit from ). /// public static class AuthInterceptors { @@ -52,6 +53,8 @@ namespace Grpc.Auth /// Creates interceptor that will obtain access token from any credential type that implements /// ITokenAccess. (e.g. GoogleCredential). /// + /// The credential to use to obtain access tokens. + /// The header interceptor. public static HeaderInterceptor FromCredential(ITokenAccess credential) { return new HeaderInterceptor((method, authUri, metadata) => @@ -67,6 +70,7 @@ namespace Grpc.Auth /// Creates OAuth2 interceptor that will use given access token as authorization. /// /// OAuth2 access token. + /// The header interceptor. public static HeaderInterceptor FromAccessToken(string accessToken) { Preconditions.CheckNotNull(accessToken); -- cgit v1.2.3