Home
last modified time | relevance | path

Searched refs:auth_context (Results 1 – 25 of 27) sorted by relevance

12

/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dsecurity.pyx.pxi35 cdef grpc_auth_context* auth_context
39 auth_context = grpc_call_auth_context(call.c_call)
40 if auth_context == NULL:
42 properties = grpc_auth_context_peer_identity(auth_context)
50 grpc_auth_context_release(auth_context)
54 cdef grpc_auth_context* auth_context
56 auth_context = grpc_call_auth_context(call.c_call)
57 if auth_context == NULL:
59 c_key = grpc_auth_context_peer_identity_property_name(auth_context)
63 key = <bytes> grpc_auth_context_peer_identity_property_name(auth_context)
[all …]
/external/grpc-grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc67 grpc_auth_context* auth_context; member
128 grpc_auth_context* auth_context, in grpc_auth_metadata_context_build() argument
158 GRPC_AUTH_CONTEXT_REF(auth_context, "grpc_auth_metadata_context"); in grpc_auth_metadata_context_build()
209 chand->auth_context, &calld->auth_md_context); in send_security_metadata()
289 GRPC_AUTH_CONTEXT_UNREF(sec_ctx->auth_context, "client auth filter"); in auth_start_transport_stream_op_batch()
290 sec_ctx->auth_context = in auth_start_transport_stream_op_batch()
291 GRPC_AUTH_CONTEXT_REF(chand->auth_context, "client_auth_filter"); in auth_start_transport_stream_op_batch()
311 chand->security_connector, call_host, chand->auth_context, in auth_start_transport_stream_op_batch()
372 grpc_auth_context* auth_context = in init_channel_elem() local
374 if (auth_context == nullptr) { in init_channel_elem()
[all …]
Dserver_auth_filter.cc55 grpc_auth_context* auth_context; member
182 chand->creds->processor.state, chand->auth_context, in recv_initial_metadata_ready()
235 server_ctx->auth_context = in init_call_elem()
236 GRPC_AUTH_CONTEXT_REF(chand->auth_context, "server_auth_filter"); in init_call_elem()
260 grpc_auth_context* auth_context = in init_channel_elem() local
262 GPR_ASSERT(auth_context != nullptr); in init_channel_elem()
263 chand->auth_context = in init_channel_elem()
264 GRPC_AUTH_CONTEXT_REF(auth_context, "server_auth_filter"); in init_channel_elem()
274 GRPC_AUTH_CONTEXT_UNREF(chand->auth_context, "server_auth_filter"); in destroy_channel_elem()
Dsecurity_handshaker.cc66 grpc_auth_context* auth_context; member
102 GRPC_AUTH_CONTEXT_UNREF(h->auth_context, "handshake"); in security_handshaker_unref()
197 grpc_arg auth_context_arg = grpc_auth_context_to_arg(h->auth_context); in on_peer_checked_inner()
225 grpc_security_connector_check_peer(h->connector, peer, &h->auth_context, in check_peer_locked()
Dauth_filters.h32 grpc_auth_context* auth_context,
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc139 grpc_auth_context** auth_context, in grpc_security_connector_check_peer() argument
147 sc->vtable->check_peer(sc, peer, auth_context, on_peer_checked); in grpc_security_connector_check_peer()
186 grpc_auth_context* auth_context, grpc_closure* on_call_host_checked, in grpc_channel_security_connector_check_call_host() argument
193 return sc->check_call_host(sc, host, auth_context, on_call_host_checked, in grpc_channel_security_connector_check_call_host()
399 grpc_auth_context** auth_context, argument
403 *auth_context = nullptr;
425 *auth_context = grpc_auth_context_create(nullptr);
427 *auth_context, GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME,
435 grpc_auth_context** auth_context, argument
437 fake_check_peer(sc, peer, auth_context, on_peer_checked);
[all …]
Dsecurity_connector.h57 grpc_auth_context** auth_context,
92 grpc_auth_context** auth_context,
121 grpc_auth_context* auth_context,
141 grpc_auth_context* auth_context, grpc_closure* on_call_host_checked,
245 const grpc_auth_context* auth_context);
Dlocal_security_connector.cc126 grpc_auth_context** auth_context, in local_check_peer() argument
134 status = local_auth_context_create(auth_context); in local_check_peer()
150 grpc_auth_context* auth_context, in local_check_call_host() argument
Dalts_security_connector.cc179 grpc_auth_context** auth_context, in alts_check_peer() argument
183 &peer, auth_context); in alts_check_peer()
221 grpc_auth_context* auth_context, in alts_check_call_host() argument
/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.h90 grpc_auth_context* auth_context; member
103 grpc_auth_context* auth_context; member
Dsecurity_context.cc71 ((grpc_client_security_context*)sec_ctx)->auth_context, in grpc_call_auth_context()
74 ((grpc_server_security_context*)sec_ctx)->auth_context, in grpc_call_auth_context()
96 GRPC_AUTH_CONTEXT_UNREF(c->auth_context, "client_security_context"); in grpc_client_security_context_destroy()
112 GRPC_AUTH_CONTEXT_UNREF(c->auth_context, "server_security_context"); in grpc_server_security_context_destroy()
/external/grpc-grpc/src/core/ext/filters/load_reporting/
Dserver_load_reporting_filter.cc51 const grpc_auth_context* auth_context = in Init() local
53 if (auth_context != nullptr && in Init()
54 grpc_auth_context_peer_is_authenticated(auth_context)) { in Init()
56 grpc_auth_context_peer_identity(auth_context); in Init()
/external/grpc-grpc/test/cpp/interop/
Dserver_helper.cc69 return context_.auth_context(); in GetAuthContext()
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_servicer_context.py56 def auth_context(self): member in ServicerContext
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_session_cache_test.py50 _AUTH_CTX: servicer_context.auth_context()
D_auth_context_test.py57 _AUTH_CTX: servicer_context.auth_context()
/external/grpc-grpc/src/core/lib/http/
Dhttpcli_security_connector.cc71 grpc_auth_context** auth_context, in httpcli_ssl_check_peer() argument
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dserver_context.h211 std::shared_ptr<const AuthContext> auth_context() const { in auth_context() function
Dclient_context.h275 std::shared_ptr<const AuthContext> auth_context() const { in auth_context() function
/external/grpc-grpc/test/cpp/end2end/
Dtest_service_impl.cc56 std::shared_ptr<const AuthContext> auth_ctx = context->auth_context(); in CheckServerAuthContext()
/external/grpc-grpc/src/python/grpcio/grpc/
D_server.py256 def auth_context(self): member in _Context
260 cygrpc.auth_context(self._rpc_event.call))
D__init__.py998 def auth_context(self): member in ServicerContext
/external/grpc-grpc/
DBUILD187 "include/grpc++/security/auth_context.h",
234 "include/grpcpp/security/auth_context.h",
1967 "include/grpc++/impl/codegen/security/auth_context.h",
2000 "include/grpcpp/impl/codegen/security/auth_context.h",
DgRPC-C++.podspec102 'include/grpcpp/security/auth_context.h',
146 'include/grpcpp/impl/codegen/security/auth_context.h',
DCMakeLists.txt2870 include/grpc++/security/auth_context.h
2915 include/grpcpp/security/auth_context.h
3007 include/grpc++/impl/codegen/security/auth_context.h
3040 include/grpcpp/impl/codegen/security/auth_context.h
3443 include/grpc++/security/auth_context.h
3488 include/grpcpp/security/auth_context.h
3580 include/grpc++/impl/codegen/security/auth_context.h
3613 include/grpcpp/impl/codegen/security/auth_context.h
3992 include/grpc++/impl/codegen/security/auth_context.h
4025 include/grpcpp/impl/codegen/security/auth_context.h
[all …]

12