From b99d48190463c3cce7f4646f715a8a723924d192 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar <abhikumar@google.com> Date: Wed, 25 Feb 2015 11:59:08 -0800 Subject: [PATCH] Update grpc-auth-support.md Fix method name. --- grpc-auth-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc-auth-support.md b/grpc-auth-support.md index 9850b8b24e..59d690d8a5 100644 --- a/grpc-auth-support.md +++ b/grpc-auth-support.md @@ -54,7 +54,7 @@ passed to the factory method. gRPC applications can use a simple API to create a credential that works in various deployment scenarios. ``` -std::unique_ptr<Credentials> creds = CredentialsFactory::DefaultGoogleCredentials(); +std::unique_ptr<Credentials> creds = GoogleDefaultGoogleDefaultCredentials(); // Create a channel, stub and make RPC calls (same as in the previous example) std::shared_ptr<ChannelInterface> channel = CreateChannel(server_name, creds, channel_args); std::unique_ptr<Greeter::Stub> stub(Greeter::NewStub(channel)); -- GitLab