aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/security/credentials.h
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2017-05-19 15:18:30 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2017-05-19 15:18:30 -0700
commit01cc75087e723be3c67295d030285e2bbf66e87c (patch)
tree5a1d1d8bf7d9dc19d2045954564729fb10a3b3cf /include/grpc++/security/credentials.h
parent72f70a5a5d3a438a00e3ac73a908344693c274e9 (diff)
parent04ac52bc3f30061a0609769cdcc82da143d6a292 (diff)
Merge remote-tracking branch 'upstream/master' into srv_record
Diffstat (limited to 'include/grpc++/security/credentials.h')
-rw-r--r--include/grpc++/security/credentials.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/grpc++/security/credentials.h b/include/grpc++/security/credentials.h
index 59861b78d8..8d9d181fde 100644
--- a/include/grpc++/security/credentials.h
+++ b/include/grpc++/security/credentials.h
@@ -204,23 +204,23 @@ std::shared_ptr<ChannelCredentials> InsecureChannelCredentials();
/// Credentials for a channel using Cronet.
std::shared_ptr<ChannelCredentials> CronetChannelCredentials(void* engine);
-// User defined metadata credentials.
+/// User defined metadata credentials.
class MetadataCredentialsPlugin {
public:
virtual ~MetadataCredentialsPlugin() {}
- // If this method returns true, the Process function will be scheduled in
- // a different thread from the one processing the call.
+ /// If this method returns true, the Process function will be scheduled in
+ /// a different thread from the one processing the call.
virtual bool IsBlocking() const { return true; }
- // Type of credentials this plugin is implementing.
+ /// Type of credentials this plugin is implementing.
virtual const char* GetType() const { return ""; }
- // Gets the auth metatada produced by this plugin.
- // The fully qualified method name is:
- // service_url + "/" + method_name.
- // The channel_auth_context contains (among other things), the identity of
- // the server.
+ /// Gets the auth metatada produced by this plugin.
+ /// The fully qualified method name is:
+ /// service_url + "/" + method_name.
+ /// The channel_auth_context contains (among other things), the identity of
+ /// the server.
virtual Status GetMetadata(
grpc::string_ref service_url, grpc::string_ref method_name,
const AuthContext& channel_auth_context,