Home
last modified time | relevance | path

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

123

/external/openscreen/cast/sender/channel/
Dcast_auth_util.h31 class AuthContext {
33 ~AuthContext();
37 static AuthContext Create();
48 explicit AuthContext(const std::string& nonce);
59 const AuthContext& auth_context);
68 const AuthContext& auth_context,
Dcast_auth_util.cc169 AuthContext AuthContext::Create() { in Create()
170 return AuthContext(CastNonce::Get()); in Create()
173 AuthContext::AuthContext(const std::string& nonce) : nonce_(nonce) {} in AuthContext() function in openscreen::cast::AuthContext
175 AuthContext::~AuthContext() {} in ~AuthContext()
177 Error AuthContext::VerifySenderNonce(const std::string& nonce_response, in VerifySenderNonce()
238 const AuthContext& auth_context, in AuthenticateChallengeReplyImpl()
285 const AuthContext& auth_context) { in AuthenticateChallengeReply()
297 const AuthContext& auth_context, in AuthenticateChallengeReplyForTest()
Dmessage_util.h15 class AuthContext; variable
18 const AuthContext& auth_context);
Dcast_auth_util_unittest.cc270 AuthContext context = AuthContext::Create(); in TEST_F()
276 AuthContext context = AuthContext::Create(); in TEST_F()
286 AuthContext context = AuthContext::Create(); in TEST_F()
/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/rust/crates/grpcio/src/
Dauth_context.rs26 pub struct AuthContext { struct
31 impl AuthContext { implementation
33 NonNull::new(grpc_sys::grpc_call_auth_context(call)).map(|ctx| AuthContext { ctx }) in from_call_ptr()
71 impl<'a> IntoIterator for &'a AuthContext { implementation
88 impl Drop for AuthContext { implementation
/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()
/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()
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
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_create_auth_context.cc28 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call) { in CreateAuthContext()
30 return std::shared_ptr<const AuthContext>(); in CreateAuthContext()
Dalts_util.cc35 const std::shared_ptr<const AuthContext>& auth_context) { in GetAltsContextFromAuthContext()
62 const std::shared_ptr<const AuthContext>& auth_context, in AltsClientAuthzCheck()
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/
Dalts_util.h38 const std::shared_ptr<const AuthContext>& auth_context);
44 const std::shared_ptr<const AuthContext>& auth_context,
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/security/
Dalts_util.h38 const std::shared_ptr<const AuthContext>& auth_context);
44 const std::shared_ptr<const AuthContext>& auth_context,
/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/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/security/
Dauth_context.h65 class AuthContext {
67 virtual ~AuthContext() {} in ~AuthContext()
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/security/
Dauth_context.h65 class AuthContext {
67 virtual ~AuthContext() {} in ~AuthContext()
/external/openscreen/cast/sender/public/
Dsender_socket_factory.h23 class AuthContext; variable
85 std::unique_ptr<AuthContext> auth_context;
/external/grpc-grpc/tools/gource/
Dcreate_auth_context.h25 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
/external/rust/crates/grpcio-sys/grpc/tools/gource/
Dcreate_auth_context.h25 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dcreate_auth_context.h29 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dcreate_auth_context.h29 std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);

123