grpcpp_2impl_2codegen_2security_2auth__context_8h_source.html 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.17"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>GRPC C++: include/grpcpp/impl/codegen/security/auth_context.h Source File</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">GRPC C++
  25. &#160;<span id="projectnumber">1.36.1</span>
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.17 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. <!-- window showing the filter options -->
  50. <div id="MSearchSelectWindow"
  51. onmouseover="return searchBox.OnSearchSelectShow()"
  52. onmouseout="return searchBox.OnSearchSelectHide()"
  53. onkeydown="return searchBox.OnSearchSelectKey(event)">
  54. </div>
  55. <!-- iframe showing the search results (closed by default) -->
  56. <div id="MSearchResultsWindow">
  57. <iframe src="javascript:void(0)" frameborder="0"
  58. name="MSearchResults" id="MSearchResults">
  59. </iframe>
  60. </div>
  61. <div id="nav-path" class="navpath">
  62. <ul>
  63. <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_412f9a3d5dfcba8716486cd870ef4586.html">grpcpp</a></li><li class="navelem"><a class="el" href="dir_84040d6f573b73aa8d12512b533ede11.html">impl</a></li><li class="navelem"><a class="el" href="dir_a33e3e3a3b205cffecbb359564791f71.html">codegen</a></li><li class="navelem"><a class="el" href="dir_cff2fbfd0e08cf0650d0f7d30bec4b77.html">security</a></li> </ul>
  64. </div>
  65. </div><!-- top -->
  66. <div class="header">
  67. <div class="headertitle">
  68. <div class="title">auth_context.h</div> </div>
  69. </div><!--header-->
  70. <div class="contents">
  71. <a href="grpcpp_2impl_2codegen_2security_2auth__context_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
  72. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div>
  73. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * Copyright 2015 gRPC authors.</span></div>
  74. <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> *</span></div>
  75. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
  76. <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * you may not use this file except in compliance with the License.</span></div>
  77. <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * You may obtain a copy of the License at</span></div>
  78. <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
  79. <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
  80. <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div>
  81. <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
  82. <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
  83. <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
  84. <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
  85. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
  86. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div>
  87. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> */</span></div>
  88. <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
  89. <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef GRPCPP_IMPL_CODEGEN_SECURITY_AUTH_CONTEXT_H</span></div>
  90. <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GRPCPP_IMPL_CODEGEN_SECURITY_AUTH_CONTEXT_H</span></div>
  91. <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
  92. <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;iterator&gt;</span></div>
  93. <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
  94. <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
  95. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2impl_2codegen_2config_8h.html">grpcpp/impl/codegen/config.h</a>&gt;</span></div>
  96. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2impl_2codegen_2string__ref_8h.html">grpcpp/impl/codegen/string_ref.h</a>&gt;</span></div>
  97. <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
  98. <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">struct </span><a class="code" href="grpc__security_8h.html#aa13f0724cb7ff99995d7f0881c01d553">grpc_auth_context</a>;</div>
  99. <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">struct </span><a class="code" href="structgrpc__auth__property.html">grpc_auth_property</a>;</div>
  100. <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">struct </span><a class="code" href="structgrpc__auth__property__iterator.html">grpc_auth_property_iterator</a>;</div>
  101. <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
  102. <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegrpc.html">grpc</a> {</div>
  103. <div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespacegrpc.html#ab23a7f74e4fef64035c11941ba6c57c6"> 33</a></span>&#160;<span class="keyword">class </span>SecureAuthContext;</div>
  104. <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; </div>
  105. <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">typedef</span> std::pair&lt;string_ref, string_ref&gt; <a class="code" href="namespacegrpc.html#ab23a7f74e4fef64035c11941ba6c57c6">AuthProperty</a>;</div>
  106. <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
  107. <div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html"> 37</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc_1_1_auth_property_iterator.html">AuthPropertyIterator</a></div>
  108. <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; : <span class="keyword">public</span> std::iterator&lt;std::input_iterator_tag, const AuthProperty&gt; {</div>
  109. <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">public</span>:</div>
  110. <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a91a3a2ce5085a948aac11d7371c13b49">~AuthPropertyIterator</a>();</div>
  111. <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="classgrpc_1_1_auth_property_iterator.html">AuthPropertyIterator</a>&amp; <a class="code" href="classgrpc_1_1_auth_property_iterator.html#ac4a895110475c25b9bdce9b72eb19cd6">operator++</a>();</div>
  112. <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="classgrpc_1_1_auth_property_iterator.html">AuthPropertyIterator</a> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#ac4a895110475c25b9bdce9b72eb19cd6">operator++</a>(<span class="keywordtype">int</span>);</div>
  113. <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a15e66ce56801c275502cd60805f68499">operator==</a>(<span class="keyword">const</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html">AuthPropertyIterator</a>&amp; rhs) <span class="keyword">const</span>;</div>
  114. <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#ad6de4a1f1b7685e8f26d110233679f8a">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html">AuthPropertyIterator</a>&amp; rhs) <span class="keyword">const</span>;</div>
  115. <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab23a7f74e4fef64035c11941ba6c57c6">AuthProperty</a> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a564f39b91f4168c6f660bbd3144f1f0e">operator*</a>();</div>
  116. <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
  117. <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">protected</span>:</div>
  118. <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a2885e02ba1b9caad818a1bcdf648d949">AuthPropertyIterator</a>();</div>
  119. <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a2885e02ba1b9caad818a1bcdf648d949">AuthPropertyIterator</a>(<span class="keyword">const</span> <a class="code" href="structgrpc__auth__property.html">grpc_auth_property</a>* property,</div>
  120. <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">const</span> <a class="code" href="structgrpc__auth__property__iterator.html">grpc_auth_property_iterator</a>* iter);</div>
  121. <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
  122. <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">private</span>:</div>
  123. <div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html#a18a70918b1f73cdd22cb263845b78d6d"> 53</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classgrpc_1_1_auth_property_iterator.html#a18a70918b1f73cdd22cb263845b78d6d">SecureAuthContext</a>;</div>
  124. <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">const</span> <a class="code" href="structgrpc__auth__property.html">grpc_auth_property</a>* property_;</div>
  125. <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// The following items form a grpc_auth_property_iterator.</span></div>
  126. <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">const</span> <a class="code" href="grpc__security_8h.html#aa13f0724cb7ff99995d7f0881c01d553">grpc_auth_context</a>* ctx_;</div>
  127. <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordtype">size_t</span> index_;</div>
  128. <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* name_;</div>
  129. <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;};</div>
  130. <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
  131. <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_context.html"> 65</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc_1_1_auth_context.html">AuthContext</a> {</div>
  132. <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keyword">public</span>:</div>
  133. <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_context.html#a3784c5f4eeab56a8524da29981548464"> 67</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classgrpc_1_1_auth_context.html#a3784c5f4eeab56a8524da29981548464">~AuthContext</a>() {}</div>
  134. <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
  135. <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1_auth_context.html#af1d6a5c7cd67694d1a485c4127eb63dc">IsPeerAuthenticated</a>() <span class="keyword">const</span> = 0;</div>
  136. <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
  137. <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">virtual</span> std::vector&lt;grpc::string_ref&gt; <a class="code" href="classgrpc_1_1_auth_context.html#a56a84468c1c3814a185cb6a2a3badf99">GetPeerIdentity</a>() <span class="keyword">const</span> = 0;</div>
  138. <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">virtual</span> std::string <a class="code" href="classgrpc_1_1_auth_context.html#a5f16bb920d51b2d9e1f2713e0c5a4403">GetPeerIdentityPropertyName</a>() <span class="keyword">const</span> = 0;</div>
  139. <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
  140. <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keyword">virtual</span> std::vector&lt;grpc::string_ref&gt; <a class="code" href="classgrpc_1_1_auth_context.html#a27f8b58added3188f3b0e55fce443656">FindPropertyValues</a>(</div>
  141. <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">const</span> std::string&amp; name) <span class="keyword">const</span> = 0;</div>
  142. <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
  143. <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html">AuthPropertyIterator</a> <a class="code" href="classgrpc_1_1_auth_context.html#a4a4a9e18e05e1a06cf25b8a77edd8c89">begin</a>() <span class="keyword">const</span> = 0;</div>
  144. <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html">AuthPropertyIterator</a> <a class="code" href="classgrpc_1_1_auth_context.html#a81d358b427e0f1096e148918cdeef991">end</a>() <span class="keyword">const</span> = 0;</div>
  145. <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; </div>
  146. <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1_auth_context.html#a4ee28397df73f141fa87da889becf20d">AddProperty</a>(<span class="keyword">const</span> std::string&amp; key, <span class="keyword">const</span> <a class="code" href="classgrpc_1_1string__ref.html">string_ref</a>&amp; value) = 0;</div>
  147. <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1_auth_context.html#a2aeb1b08f1061ada948a5d678b584596">SetPeerIdentityPropertyName</a>(<span class="keyword">const</span> std::string&amp; name) = 0;</div>
  148. <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;};</div>
  149. <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
  150. <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;} <span class="comment">// namespace grpc</span></div>
  151. <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
  152. <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#endif // GRPCPP_IMPL_CODEGEN_SECURITY_AUTH_CONTEXT_H</span></div>
  153. </div><!-- fragment --></div><!-- contents -->
  154. <div class="ttc" id="aclassgrpc_1_1string__ref_html"><div class="ttname"><a href="classgrpc_1_1string__ref.html">grpc::string_ref</a></div><div class="ttdoc">This class is a non owning reference to a string.</div><div class="ttdef"><b>Definition:</b> string_ref.h:41</div></div>
  155. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a2aeb1b08f1061ada948a5d678b584596"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a2aeb1b08f1061ada948a5d678b584596">grpc::AuthContext::SetPeerIdentityPropertyName</a></div><div class="ttdeci">virtual bool SetPeerIdentityPropertyName(const std::string &amp;name)=0</div></div>
  156. <div class="ttc" id="agrpc__security_8h_html_aa13f0724cb7ff99995d7f0881c01d553"><div class="ttname"><a href="grpc__security_8h.html#aa13f0724cb7ff99995d7f0881c01d553">grpc_auth_context</a></div><div class="ttdeci">struct grpc_auth_context grpc_auth_context</div><div class="ttdoc">— Authentication Context.</div><div class="ttdef"><b>Definition:</b> grpc_security.h:34</div></div>
  157. <div class="ttc" id="anamespacegrpc_html"><div class="ttname"><a href="namespacegrpc.html">grpc</a></div><div class="ttdoc">An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...</div><div class="ttdef"><b>Definition:</b> alarm.h:33</div></div>
  158. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a3784c5f4eeab56a8524da29981548464"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a3784c5f4eeab56a8524da29981548464">grpc::AuthContext::~AuthContext</a></div><div class="ttdeci">virtual ~AuthContext()</div><div class="ttdef"><b>Definition:</b> auth_context.h:67</div></div>
  159. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_a91a3a2ce5085a948aac11d7371c13b49"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#a91a3a2ce5085a948aac11d7371c13b49">grpc::AuthPropertyIterator::~AuthPropertyIterator</a></div><div class="ttdeci">~AuthPropertyIterator()</div></div>
  160. <div class="ttc" id="agrpcpp_2impl_2codegen_2config_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2config_8h.html">config.h</a></div></div>
  161. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_a15e66ce56801c275502cd60805f68499"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#a15e66ce56801c275502cd60805f68499">grpc::AuthPropertyIterator::operator==</a></div><div class="ttdeci">bool operator==(const AuthPropertyIterator &amp;rhs) const</div></div>
  162. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_a564f39b91f4168c6f660bbd3144f1f0e"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#a564f39b91f4168c6f660bbd3144f1f0e">grpc::AuthPropertyIterator::operator*</a></div><div class="ttdeci">const AuthProperty operator*()</div></div>
  163. <div class="ttc" id="astructgrpc__auth__property__iterator_html"><div class="ttname"><a href="structgrpc__auth__property__iterator.html">grpc_auth_property_iterator</a></div><div class="ttdef"><b>Definition:</b> grpc_security.h:36</div></div>
  164. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_ad6de4a1f1b7685e8f26d110233679f8a"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#ad6de4a1f1b7685e8f26d110233679f8a">grpc::AuthPropertyIterator::operator!=</a></div><div class="ttdeci">bool operator!=(const AuthPropertyIterator &amp;rhs) const</div></div>
  165. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_af1d6a5c7cd67694d1a485c4127eb63dc"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#af1d6a5c7cd67694d1a485c4127eb63dc">grpc::AuthContext::IsPeerAuthenticated</a></div><div class="ttdeci">virtual bool IsPeerAuthenticated() const =0</div><div class="ttdoc">Returns true if the peer is authenticated.</div></div>
  166. <div class="ttc" id="aclassgrpc_1_1_auth_context_html"><div class="ttname"><a href="classgrpc_1_1_auth_context.html">grpc::AuthContext</a></div><div class="ttdoc">Class encapsulating the Authentication Information.</div><div class="ttdef"><b>Definition:</b> auth_context.h:65</div></div>
  167. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_a2885e02ba1b9caad818a1bcdf648d949"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#a2885e02ba1b9caad818a1bcdf648d949">grpc::AuthPropertyIterator::AuthPropertyIterator</a></div><div class="ttdeci">AuthPropertyIterator()</div></div>
  168. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a4ee28397df73f141fa87da889becf20d"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a4ee28397df73f141fa87da889becf20d">grpc::AuthContext::AddProperty</a></div><div class="ttdeci">virtual void AddProperty(const std::string &amp;key, const string_ref &amp;value)=0</div><div class="ttdoc">Mutation functions: should only be used by an AuthMetadataProcessor.</div></div>
  169. <div class="ttc" id="astructgrpc__auth__property_html"><div class="ttname"><a href="structgrpc__auth__property.html">grpc_auth_property</a></div><div class="ttdoc">value, if not NULL, is guaranteed to be NULL terminated.</div><div class="ttdef"><b>Definition:</b> grpc_security.h:43</div></div>
  170. <div class="ttc" id="agrpcpp_2impl_2codegen_2string__ref_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2string__ref_8h.html">string_ref.h</a></div></div>
  171. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a27f8b58added3188f3b0e55fce443656"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a27f8b58added3188f3b0e55fce443656">grpc::AuthContext::FindPropertyValues</a></div><div class="ttdeci">virtual std::vector&lt; grpc::string_ref &gt; FindPropertyValues(const std::string &amp;name) const =0</div><div class="ttdoc">Returns all the property values with the given name.</div></div>
  172. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a56a84468c1c3814a185cb6a2a3badf99"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a56a84468c1c3814a185cb6a2a3badf99">grpc::AuthContext::GetPeerIdentity</a></div><div class="ttdeci">virtual std::vector&lt; grpc::string_ref &gt; GetPeerIdentity() const =0</div><div class="ttdoc">A peer identity.</div></div>
  173. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_ac4a895110475c25b9bdce9b72eb19cd6"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#ac4a895110475c25b9bdce9b72eb19cd6">grpc::AuthPropertyIterator::operator++</a></div><div class="ttdeci">AuthPropertyIterator &amp; operator++()</div></div>
  174. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a81d358b427e0f1096e148918cdeef991"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a81d358b427e0f1096e148918cdeef991">grpc::AuthContext::end</a></div><div class="ttdeci">virtual AuthPropertyIterator end() const =0</div></div>
  175. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a4a4a9e18e05e1a06cf25b8a77edd8c89"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a4a4a9e18e05e1a06cf25b8a77edd8c89">grpc::AuthContext::begin</a></div><div class="ttdeci">virtual AuthPropertyIterator begin() const =0</div><div class="ttdoc">Iteration over all the properties.</div></div>
  176. <div class="ttc" id="anamespacegrpc_html_ab23a7f74e4fef64035c11941ba6c57c6"><div class="ttname"><a href="namespacegrpc.html#ab23a7f74e4fef64035c11941ba6c57c6">grpc::AuthProperty</a></div><div class="ttdeci">std::pair&lt; string_ref, string_ref &gt; AuthProperty</div><div class="ttdef"><b>Definition:</b> auth_context.h:33</div></div>
  177. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_a18a70918b1f73cdd22cb263845b78d6d"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#a18a70918b1f73cdd22cb263845b78d6d">grpc::AuthPropertyIterator::SecureAuthContext</a></div><div class="ttdeci">friend class SecureAuthContext</div><div class="ttdef"><b>Definition:</b> auth_context.h:53</div></div>
  178. <div class="ttc" id="aclassgrpc_1_1_auth_context_html_a5f16bb920d51b2d9e1f2713e0c5a4403"><div class="ttname"><a href="classgrpc_1_1_auth_context.html#a5f16bb920d51b2d9e1f2713e0c5a4403">grpc::AuthContext::GetPeerIdentityPropertyName</a></div><div class="ttdeci">virtual std::string GetPeerIdentityPropertyName() const =0</div></div>
  179. <div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html">grpc::AuthPropertyIterator</a></div><div class="ttdef"><b>Definition:</b> auth_context.h:37</div></div>
  180. <!-- start footer part -->
  181. <hr class="footer"/><address class="footer"><small>
  182. Generated on Wed Mar 3 2021 19:17:18 for GRPC C++ by &#160;<a href="http://www.doxygen.org/index.html">
  183. <img class="footer" src="doxygen.png" alt="doxygen"/>
  184. </a> 1.8.17
  185. </small></address>
  186. </body>
  187. </html>