grpc/cpp/grpcpp_2security_2auth__con...

200 lines
30 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GRPC C++: include/grpcpp/security/auth_context.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GRPC C++
&#160;<span id="projectnumber">1.64.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<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_121096a639b520446ccef04f840b5644.html">security</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">auth_context.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="grpcpp_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>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// Copyright 2015 gRPC authors.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div>
<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>
<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>
<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>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<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>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">//</span></div>
<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>
<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>
<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>
<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>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef GRPCPP_SECURITY_AUTH_CONTEXT_H</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GRPCPP_SECURITY_AUTH_CONTEXT_H</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;iterator&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2support_2config_8h.html">grpcpp/support/config.h</a>&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2support_2string__ref_8h.html">grpcpp/support/string_ref.h</a>&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">struct </span><a class="code" href="grpc_2credentials_8h.html#aa13f0724cb7ff99995d7f0881c01d553">grpc_auth_context</a>;</div>
<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>
<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>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<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>
<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>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; </div>
<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>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<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>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html#aaf1d1192c1bf6b80e7211c67a4cd079d"> 39</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#aaf1d1192c1bf6b80e7211c67a4cd079d">iterator_category</a> = std::forward_iterator_tag;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html#ac2e44e5556b85425992601d50c1a490c"> 40</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#ac2e44e5556b85425992601d50c1a490c">value_type</a> = <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab23a7f74e4fef64035c11941ba6c57c6">AuthProperty</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html#ac25d78908bb480ee4e28aefecca0d0e8"> 41</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#ac25d78908bb480ee4e28aefecca0d0e8">pointer</a> = void;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html#a49ffb84b6eea60d9b9b36c55ac362d1b"> 42</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a49ffb84b6eea60d9b9b36c55ac362d1b">reference</a> = void;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html#a3fcbdbe445f95981e6f306311b4b4823"> 43</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a3fcbdbe445f95981e6f306311b4b4823">difference_type</a> = std::ptrdiff_t;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a91a3a2ce5085a948aac11d7371c13b49">~AuthPropertyIterator</a>();</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</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>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</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>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</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>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</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>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="namespacegrpc.html#ab23a7f74e4fef64035c11941ba6c57c6">AuthProperty</a> <a class="code" href="classgrpc_1_1_auth_property_iterator.html#aa73939627db5aa1f2117ef9d0b550c73">operator*</a>();</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="classgrpc_1_1_auth_property_iterator.html#a2885e02ba1b9caad818a1bcdf648d949">AuthPropertyIterator</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</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>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">const</span> <a class="code" href="structgrpc__auth__property__iterator.html">grpc_auth_property_iterator</a>* iter);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_property_iterator.html#a18a70918b1f73cdd22cb263845b78d6d"> 58</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>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">const</span> <a class="code" href="structgrpc__auth__property.html">grpc_auth_property</a>* property_;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="comment">// The following items form a grpc_auth_property_iterator.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">const</span> <a class="code" href="grpc_2credentials_8h.html#aa13f0724cb7ff99995d7f0881c01d553">grpc_auth_context</a>* ctx_;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">size_t</span> index_;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* name_;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;};</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_context.html"> 70</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc_1_1_auth_context.html">AuthContext</a> {</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classgrpc_1_1_auth_context.html#a3784c5f4eeab56a8524da29981548464"> 72</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classgrpc_1_1_auth_context.html#a3784c5f4eeab56a8524da29981548464">~AuthContext</a>() {}</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</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>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</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>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</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>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</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>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keyword">const</span> std::string&amp; name) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</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>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</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>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</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>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</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>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;};</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;} <span class="comment">// namespace grpc</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">#endif // GRPCPP_SECURITY_AUTH_CONTEXT_H</span></div>
</div><!-- fragment --></div><!-- contents -->
<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>
<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>
<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>
<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:72</div></div>
<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>
<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>
<div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_ac2e44e5556b85425992601d50c1a490c"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#ac2e44e5556b85425992601d50c1a490c">grpc::AuthPropertyIterator::value_type</a></div><div class="ttdeci">const AuthProperty value_type</div><div class="ttdef"><b>Definition:</b> auth_context.h:40</div></div>
<div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_aaf1d1192c1bf6b80e7211c67a4cd079d"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#aaf1d1192c1bf6b80e7211c67a4cd079d">grpc::AuthPropertyIterator::iterator_category</a></div><div class="ttdeci">std::forward_iterator_tag iterator_category</div><div class="ttdef"><b>Definition:</b> auth_context.h:39</div></div>
<div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_a3fcbdbe445f95981e6f306311b4b4823"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#a3fcbdbe445f95981e6f306311b4b4823">grpc::AuthPropertyIterator::difference_type</a></div><div class="ttdeci">std::ptrdiff_t difference_type</div><div class="ttdef"><b>Definition:</b> auth_context.h:43</div></div>
<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:37</div></div>
<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>
<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>
<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:70</div></div>
<div class="ttc" id="agrpc_2credentials_8h_html_aa13f0724cb7ff99995d7f0881c01d553"><div class="ttname"><a href="grpc_2credentials_8h.html#aa13f0724cb7ff99995d7f0881c01d553">grpc_auth_context</a></div><div class="ttdeci">struct grpc_auth_context grpc_auth_context</div><div class="ttdef"><b>Definition:</b> credentials.h:39</div></div>
<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>
<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>
<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:44</div></div>
<div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_a49ffb84b6eea60d9b9b36c55ac362d1b"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#a49ffb84b6eea60d9b9b36c55ac362d1b">grpc::AuthPropertyIterator::reference</a></div><div class="ttdeci">void reference</div><div class="ttdef"><b>Definition:</b> auth_context.h:42</div></div>
<div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_aa73939627db5aa1f2117ef9d0b550c73"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#aa73939627db5aa1f2117ef9d0b550c73">grpc::AuthPropertyIterator::operator*</a></div><div class="ttdeci">AuthProperty operator*()</div></div>
<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>
<div class="ttc" id="agrpcpp_2support_2config_8h_html"><div class="ttname"><a href="grpcpp_2support_2config_8h.html">config.h</a></div></div>
<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>
<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>
<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>
<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>
<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>
<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:58</div></div>
<div class="ttc" id="aclassgrpc_1_1_auth_property_iterator_html_ac25d78908bb480ee4e28aefecca0d0e8"><div class="ttname"><a href="classgrpc_1_1_auth_property_iterator.html#ac25d78908bb480ee4e28aefecca0d0e8">grpc::AuthPropertyIterator::pointer</a></div><div class="ttdeci">void pointer</div><div class="ttdef"><b>Definition:</b> auth_context.h:41</div></div>
<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>
<div class="ttc" id="agrpcpp_2support_2string__ref_8h_html"><div class="ttname"><a href="grpcpp_2support_2string__ref_8h.html">string_ref.h</a></div></div>
<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>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri May 17 2024 01:17:15 for GRPC C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>