Remove `include/grpcpp/impl/codegen/create_auth_context.h` (#31359)

* Remove `include/grpcpp/impl/codegen/create_auth_context.h`

* Update

* Automated change: Fix sanity tests
pull/31545/head
Cheng-Yu Chung 2 years ago committed by GitHub
parent 26f77fe729
commit d5b285df95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      BUILD
  2. 2
      CMakeLists.txt
  3. 2
      build_autogenerated.yaml
  4. 1
      gRPC-C++.podspec
  5. 2
      include/grpcpp/client_context.h
  6. 12
      include/grpcpp/impl/codegen/create_auth_context.h
  7. 34
      include/grpcpp/impl/create_auth_context.h
  8. 1
      tools/doxygen/Doxyfile.c++
  9. 1
      tools/doxygen/Doxyfile.c++.internal

@ -342,6 +342,7 @@ GRPCXX_PUBLIC_HDRS = [
"include/grpcpp/impl/client_unary_call.h",
"include/grpcpp/impl/codegen/core_codegen.h",
"include/grpcpp/impl/completion_queue_tag.h",
"include/grpcpp/impl/create_auth_context.h",
"include/grpcpp/impl/delegating_channel.h",
"include/grpcpp/impl/grpc_library.h",
"include/grpcpp/impl/intercepted_channel.h",

2
CMakeLists.txt generated

@ -3446,6 +3446,7 @@ foreach(_hdr
include/grpcpp/impl/codegen/sync_stream.h
include/grpcpp/impl/codegen/time.h
include/grpcpp/impl/completion_queue_tag.h
include/grpcpp/impl/create_auth_context.h
include/grpcpp/impl/delegating_channel.h
include/grpcpp/impl/grpc_library.h
include/grpcpp/impl/intercepted_channel.h
@ -4138,6 +4139,7 @@ foreach(_hdr
include/grpcpp/impl/codegen/sync_stream.h
include/grpcpp/impl/codegen/time.h
include/grpcpp/impl/completion_queue_tag.h
include/grpcpp/impl/create_auth_context.h
include/grpcpp/impl/delegating_channel.h
include/grpcpp/impl/grpc_library.h
include/grpcpp/impl/intercepted_channel.h

@ -2821,6 +2821,7 @@ libs:
- include/grpcpp/impl/codegen/sync_stream.h
- include/grpcpp/impl/codegen/time.h
- include/grpcpp/impl/completion_queue_tag.h
- include/grpcpp/impl/create_auth_context.h
- include/grpcpp/impl/delegating_channel.h
- include/grpcpp/impl/grpc_library.h
- include/grpcpp/impl/intercepted_channel.h
@ -3244,6 +3245,7 @@ libs:
- include/grpcpp/impl/codegen/sync_stream.h
- include/grpcpp/impl/codegen/time.h
- include/grpcpp/impl/completion_queue_tag.h
- include/grpcpp/impl/create_auth_context.h
- include/grpcpp/impl/delegating_channel.h
- include/grpcpp/impl/grpc_library.h
- include/grpcpp/impl/intercepted_channel.h

1
gRPC-C++.podspec generated

@ -147,6 +147,7 @@ Pod::Spec.new do |s|
'include/grpcpp/impl/codegen/sync_stream.h',
'include/grpcpp/impl/codegen/time.h',
'include/grpcpp/impl/completion_queue_tag.h',
'include/grpcpp/impl/create_auth_context.h',
'include/grpcpp/impl/delegating_channel.h',
'include/grpcpp/impl/grpc_library.h',
'include/grpcpp/impl/intercepted_channel.h',

@ -41,8 +41,8 @@
#include <grpc/impl/codegen/compression_types.h>
#include <grpc/impl/codegen/propagation_bits.h>
#include <grpcpp/impl/codegen/core_codegen_interface.h>
#include <grpcpp/impl/codegen/create_auth_context.h>
#include <grpcpp/impl/codegen/sync.h>
#include <grpcpp/impl/create_auth_context.h>
#include <grpcpp/impl/metadata_map.h>
#include <grpcpp/impl/rpc_method.h>
#include <grpcpp/security/auth_context.h>

@ -21,15 +21,7 @@
// IWYU pragma: private
#include <memory>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpcpp/impl/codegen/security/auth_context.h>
namespace grpc {
std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
} // namespace grpc
/// TODO(chengyuc): Remove this file after solving compatibility.
#include <grpcpp/impl/create_auth_context.h>
#endif // GRPCPP_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H

@ -0,0 +1,34 @@
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GRPCPP_IMPL_CREATE_AUTH_CONTEXT_H
#define GRPCPP_IMPL_CREATE_AUTH_CONTEXT_H
#include <memory>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpcpp/security/auth_context.h>
namespace grpc {
/// TODO(ctiller): not sure we want to make this a permanent thing
std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
} // namespace grpc
#endif // GRPCPP_IMPL_CREATE_AUTH_CONTEXT_H

@ -1011,6 +1011,7 @@ include/grpcpp/impl/codegen/sync.h \
include/grpcpp/impl/codegen/sync_stream.h \
include/grpcpp/impl/codegen/time.h \
include/grpcpp/impl/completion_queue_tag.h \
include/grpcpp/impl/create_auth_context.h \
include/grpcpp/impl/delegating_channel.h \
include/grpcpp/impl/grpc_library.h \
include/grpcpp/impl/intercepted_channel.h \

@ -1011,6 +1011,7 @@ include/grpcpp/impl/codegen/sync.h \
include/grpcpp/impl/codegen/sync_stream.h \
include/grpcpp/impl/codegen/time.h \
include/grpcpp/impl/completion_queue_tag.h \
include/grpcpp/impl/create_auth_context.h \
include/grpcpp/impl/delegating_channel.h \
include/grpcpp/impl/grpc_library.h \
include/grpcpp/impl/intercepted_channel.h \

Loading…
Cancel
Save