Home
last modified time | relevance | path

Searched refs:AuthContext (Results 1 – 24 of 24) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core/
DServerCallContext.cs41 private readonly Lazy<AuthContext> authContext;
43 private readonly Func<AuthContext> testingOnlyAuthContextGetter;
57 …Func<string> testingOnlyPeerGetter, Func<AuthContext> testingOnlyAuthContextGetter, Func<ContextPr… in ServerCallContext()
67 this.authContext = new Lazy<AuthContext>(GetAuthContextEager); in ServerCallContext()
203 public AuthContext AuthContext property in Grpc.Core.ServerCallContext
215 private AuthContext GetAuthContextEager() in GetAuthContextEager()
DAuthContext.cs33 public class AuthContext class
43 …internal AuthContext(string peerIdentityPropertyName, Dictionary<string, List<AuthProperty>> prope… in AuthContext() method in Grpc.Core.AuthContext
/external/grpc-grpc/src/cpp/common/
Dsecure_create_auth_context.cc27 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call) { in CreateAuthContext()
29 return std::shared_ptr<const AuthContext>(); in CreateAuthContext()
31 return std::shared_ptr<const AuthContext>( in CreateAuthContext()
Dinsecure_create_auth_context.cc25 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call) { in CreateAuthContext()
27 return std::shared_ptr<const AuthContext>(); in CreateAuthContext()
Dsecure_auth_context.h28 class SecureAuthContext final : public AuthContext {
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DAuthContextSafeHandle.cs42 public AuthContext ToAuthContext() in ToAuthContext()
46 return new AuthContext(null, new Dictionary<string, List<AuthProperty>>()); in ToAuthContext()
66 return new AuthContext(peerIdentityPropertyName, propertiesDict); in ToAuthContext()
102 public IntPtr AuthContext; field
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DAuthContextTest.cs32 var context = new AuthContext(null, new Dictionary<string, List<AuthProperty>>()); in EmptyContext()
44 … var context = new AuthContext("some_identity", new Dictionary<string, List<AuthProperty>> in AuthenticatedContext()
59 var context = new AuthContext(null, new Dictionary<string, List<AuthProperty>> in FindPropertiesByName()
DClientServerTest.cs370 Assert.IsFalse(context.AuthContext.IsPeerAuthenticated); in ServerCallContext_AuthContextNotPopulated()
371 Assert.AreEqual(0, context.AuthContext.Properties.Count()); in ServerCallContext_AuthContextNotPopulated()
/external/grpc-grpc/doc/
Dserver_side_auth.md6 ## AuthContext section in Server-side API for Authenticating Clients
14 WARNING: AuthContext is the only reliable source of truth when it comes to authenticating RPCs. Usi…
16 #### Example AuthContext contents argument
38 Auth properties are elements of the AuthContext. They have a name (a key of type string) and a valu…
57 A high level API to access AuthContext contents is available in these languages:
/external/grpc-grpc/include/grpcpp/impl/codegen/security/
Dauth_context.h65 class AuthContext {
67 virtual ~AuthContext() {} in ~AuthContext()
/external/grpc-grpc/tools/gource/
Dcreate_auth_context.h25 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dcreate_auth_context.h29 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
Dserver_context.h211 std::shared_ptr<const AuthContext> auth_context() const { in auth_context()
296 mutable std::shared_ptr<const AuthContext> auth_context_;
Dclient_context.h275 std::shared_ptr<const AuthContext> auth_context() const { in auth_context()
429 mutable std::shared_ptr<const AuthContext> auth_context_;
/external/grpc-grpc/include/grpcpp/security/
Dauth_metadata_processor.h54 AuthContext* context,
Dcredentials.h217 const AuthContext& channel_auth_context,
/external/grpc-grpc/test/cpp/interop/
Dserver_helper.cc67 std::shared_ptr<const AuthContext>
Dserver_helper.h43 std::shared_ptr<const AuthContext> GetAuthContext() const;
/external/grpc-grpc/src/csharp/Grpc.Core.Testing/
DTestServerCallContext.cs36 string peer, AuthContext authContext, ContextPropagationToken contextPropagationToken, in Create()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DSslCredentialsTest.cs104 var authContext = context.AuthContext; in StreamingInputCall()
/external/grpc-grpc/test/cpp/end2end/
Dtest_service_impl.cc56 std::shared_ptr<const AuthContext> auth_ctx = context->auth_context(); in CheckServerAuthContext()
Dend2end_test.cc86 const grpc::AuthContext& channel_auth_context, in GetMetadata()
137 Status Process(const InputMetadata& auth_metadata, AuthContext* context, in Process()
1741 std::shared_ptr<const AuthContext> auth_ctx = context.auth_context(); in TEST_P()
/external/sqlite/dist/orig/
Dsqlite3.c13229 typedef struct AuthContext AuthContext; typedef
16969 struct AuthContext { struct
17824 SQLITE_PRIVATE void sqlite3AuthContextPush(Parse*, AuthContext*, const char*);
17825 SQLITE_PRIVATE void sqlite3AuthContextPop(AuthContext*);
101595 AuthContext *pContext,
101608 SQLITE_PRIVATE void sqlite3AuthContextPop(AuthContext *pContext){
106805 AuthContext sContext; /* Authorization context */
126197 AuthContext sContext; /* The authorization context */
/external/sqlite/dist/
Dsqlite3.c13229 typedef struct AuthContext AuthContext; typedef
16969 struct AuthContext { struct
17824 SQLITE_PRIVATE void sqlite3AuthContextPush(Parse*, AuthContext*, const char*);
17825 SQLITE_PRIVATE void sqlite3AuthContextPop(AuthContext*);
101611 AuthContext *pContext,
101624 SQLITE_PRIVATE void sqlite3AuthContextPop(AuthContext *pContext){
106821 AuthContext sContext; /* Authorization context */
126213 AuthContext sContext; /* The authorization context */