Searched refs:authContext (Results 1 – 6 of 6) sorted by relevance
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | AltsAuthContextTest.java | 73 AltsAuthContext authContext = new AltsAuthContext(handshakerResult); in testAltsAuthContext() local 74 assertEquals(TEST_APPLICATION_PROTOCOL, authContext.getApplicationProtocol()); in testAltsAuthContext() 75 assertEquals(TEST_RECORD_PROTOCOL, authContext.getRecordProtocol()); in testAltsAuthContext() 76 assertEquals(TEST_SECURITY_LEVEL, authContext.getSecurityLevel()); in testAltsAuthContext() 77 assertEquals(TEST_PEER_SERVICE_ACCOUNT, authContext.getPeerServiceAccount()); in testAltsAuthContext() 78 assertEquals(TEST_LOCAL_SERVICE_ACCOUNT, authContext.getLocalServiceAccount()); in testAltsAuthContext() 79 assertEquals(rpcVersions, authContext.getPeerRpcVersions()); in testAltsAuthContext()
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | SslCredentialsTest.cs | 104 var authContext = context.AuthContext; in StreamingInputCall() 107 Assert.IsTrue(authContext.IsPeerAuthenticated); in StreamingInputCall() 108 … Assert.AreEqual("x509_subject_alternative_name", authContext.PeerIdentityPropertyName); in StreamingInputCall() 109 Assert.IsTrue(authContext.PeerIdentity.Count() > 0); in StreamingInputCall() 110 … Assert.AreEqual("ssl", authContext.FindPropertiesByName("transport_security_type").First().Value); in StreamingInputCall()
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | ServerCallContext.cs | 41 private readonly Lazy<AuthContext> authContext; field in Grpc.Core.ServerCallContext 67 this.authContext = new Lazy<AuthContext>(GetAuthContextEager); in ServerCallContext() 211 return authContext.Value;
|
/external/grpc-grpc/src/csharp/Grpc.Core.Testing/ |
D | TestServerCallContext.cs | 36 string peer, AuthContext authContext, ContextPropagationToken contextPropagationToken, in Create() argument 41 () => peer, () => authContext, () => contextPropagationToken); in Create()
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | NativeMethods.Generated.cs | 520 …uth_context_peer_identity_property_name_delegate(AuthContextSafeHandle authContext); // returns c… in grpcsharp_auth_context_peer_identity_property_name_delegate() argument 521 …pertyIterator grpcsharp_auth_context_property_iterator_delegate(AuthContextSafeHandle authContext); in grpcsharp_auth_context_property_iterator_delegate() argument 523 public delegate void grpcsharp_auth_context_release_delegate(IntPtr authContext); in grpcsharp_auth_context_release_delegate() argument 791 …xtern IntPtr grpcsharp_auth_context_peer_identity_property_name(AuthContextSafeHandle authContext); in grpcsharp_auth_context_peer_identity_property_name() argument 794 …veAuthPropertyIterator grpcsharp_auth_context_property_iterator(AuthContextSafeHandle authContext); in grpcsharp_auth_context_property_iterator() argument 800 public static extern void grpcsharp_auth_context_release(IntPtr authContext); in grpcsharp_auth_context_release() argument 1084 …xtern IntPtr grpcsharp_auth_context_peer_identity_property_name(AuthContextSafeHandle authContext); in grpcsharp_auth_context_peer_identity_property_name() argument 1087 …veAuthPropertyIterator grpcsharp_auth_context_property_iterator(AuthContextSafeHandle authContext); in grpcsharp_auth_context_property_iterator() argument 1093 public static extern void grpcsharp_auth_context_release(IntPtr authContext); in grpcsharp_auth_context_release() argument
|
/external/grpc-grpc/templates/src/csharp/Grpc.Core/Internal/ |
D | NativeMethods.Generated.cs.template | 88 …'IntPtr grpcsharp_auth_context_peer_identity_property_name(AuthContextSafeHandle authContext) // … 89 …eAuthPropertyIterator grpcsharp_auth_context_property_iterator(AuthContextSafeHandle authContext)', 91 'void grpcsharp_auth_context_release(IntPtr authContext)',
|