diff --git a/grpc-auth-support.md b/grpc-auth-support.md index 9850b8b24ef..59d690d8a52 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 creds = CredentialsFactory::DefaultGoogleCredentials(); +std::unique_ptr creds = GoogleDefaultGoogleDefaultCredentials(); // Create a channel, stub and make RPC calls (same as in the previous example) std::shared_ptr channel = CreateChannel(server_name, creds, channel_args); std::unique_ptr stub(Greeter::NewStub(channel));