MCPcopy Create free account
hub / github.com/apache/brpc / auth_context

Method auth_context

src/brpc/controller.h:424–424  ·  view source on GitHub ↗

Returns the authenticated result. NULL if there is no authentication

Source from the content-addressed store, hash-verified

422
423 // Returns the authenticated result. NULL if there is no authentication
424 const AuthContext* auth_context() const { return _auth_context; }
425
426 // Whether the underlying channel is using SSL
427 bool is_ssl() const;

Callers 13

VerifyMyRequestFunction · 0.80
ProcessRpcRequestMethod · 0.80
EchoMethod · 0.80
ProcessHttpRequestFunction · 0.80
ProcessSofaRequestFunction · 0.80
ProcessMongoRequestFunction · 0.80
ProcessRpcRequestFunction · 0.80
ProcessHuluRequestFunction · 0.80
profileMethod · 0.80
contentionMethod · 0.80
heapMethod · 0.80
growthMethod · 0.80

Calls

no outgoing calls

Tested by 3

VerifyMyRequestFunction · 0.64
ProcessRpcRequestMethod · 0.64
EchoMethod · 0.64