credentials__impl_8h_source.html 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.13"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>GRPC C++: include/grpcpp/security/credentials_impl.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.23.0</span>
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.13 -->
  34. <script type="text/javascript">
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. </script>
  37. <script type="text/javascript" src="menudata.js"></script>
  38. <script type="text/javascript" src="menu.js"></script>
  39. <script type="text/javascript">
  40. $(function() {
  41. initMenu('',true,false,'search.php','Search');
  42. $(document).ready(function() { init_search(); });
  43. });
  44. </script>
  45. <div id="main-nav"></div>
  46. <!-- window showing the filter options -->
  47. <div id="MSearchSelectWindow"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. onkeydown="return searchBox.OnSearchSelectKey(event)">
  51. </div>
  52. <!-- iframe showing the search results (closed by default) -->
  53. <div id="MSearchResultsWindow">
  54. <iframe src="javascript:void(0)" frameborder="0"
  55. name="MSearchResults" id="MSearchResults">
  56. </iframe>
  57. </div>
  58. <div id="nav-path" class="navpath">
  59. <ul>
  60. <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>
  61. </div>
  62. </div><!-- top -->
  63. <div class="header">
  64. <div class="headertitle">
  65. <div class="title">credentials_impl.h</div> </div>
  66. </div><!--header-->
  67. <div class="contents">
  68. <a href="credentials__impl_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_CREDENTIALS_IMPL_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GRPCPP_SECURITY_CREDENTIALS_IMPL_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;map&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpc__security__constants_8h.html">grpc/grpc_security_constants.h</a>&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="channel__impl_8h.html">grpcpp/channel_impl.h</a>&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="impl_2codegen_2client__interceptor_8h.html">grpcpp/impl/codegen/client_interceptor.h</a>&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2impl_2codegen_2grpc__library_8h.html">grpcpp/impl/codegen/grpc_library.h</a>&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2security_2auth__context_8h.html">grpcpp/security/auth_context.h</a>&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="channel__arguments__impl_8h.html">grpcpp/support/channel_arguments_impl.h</a>&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2support_2status_8h.html">grpcpp/support/status.h</a>&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</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="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">struct </span><a class="code" href="grpc__types_8h.html#a122f8f4f0a585396d993d9b55848f222">grpc_call</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"> 37</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegrpc__impl.html">grpc_impl</a> {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">class </span><a class="code" href="namespacegrpc.html#aaf2939b1b4a48aa00606f8e986bf21de">ChannelCredentials</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">class </span><a class="code" href="namespacegrpc.html#a342736b8414b0f55bf7154e0ddfaddd2">CallCredentials</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">class </span><a class="code" href="namespacegrpc.html#ac98f7fcdb6e918b043433c20197c20b6">SecureCallCredentials</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">class </span><a class="code" href="namespacegrpc.html#a1870277cca7ed6ebac824ea43d6da689">SecureChannelCredentials</a>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;std::shared_ptr&lt;Channel&gt; <a class="code" href="namespacegrpc__impl.html#a0af0e855f421fdb8fb657aec0e6afdfd">CreateCustomChannelImpl</a>(</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; target,</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;ChannelCredentials&gt;&amp; creds,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#a0fb985b4797b9d239bc8164ed1bad223">ChannelArguments</a>&amp; args);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">namespace </span>experimental {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;std::shared_ptr&lt;Channel&gt; <a class="code" href="namespacegrpc__impl_1_1experimental.html#a9c746351c2dfd50ca78d7929c66e2a89">CreateCustomChannelWithInterceptors</a>(</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; target,</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;ChannelCredentials&gt;&amp; creds,</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#a0fb985b4797b9d239bc8164ed1bad223">ChannelArguments</a>&amp; args,</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; std::vector&lt;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; std::unique_ptr&lt;grpc::experimental::ClientInterceptorFactoryInterface&gt;&gt;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; interceptor_creators);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;}</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classgrpc__impl_1_1_channel_credentials.html"> 65</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc__impl_1_1_channel_credentials.html">ChannelCredentials</a> : <span class="keyword">private</span> <a class="code" href="classgrpc_1_1_grpc_library_codegen.html">grpc::GrpcLibraryCodegen</a> {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="namespacegrpc.html#aaf2939b1b4a48aa00606f8e986bf21de">ChannelCredentials</a>();</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; ~<a class="code" href="classgrpc__impl_1_1_channel_credentials.html">ChannelCredentials</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">friend</span> std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a59409a2853f39bd444964a886a836e17">CompositeChannelCredentials</a>(</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;ChannelCredentials&gt;&amp; channel_creds,</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;CallCredentials&gt;&amp; call_creds);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">virtual</span> <a class="code" href="namespacegrpc.html#a1870277cca7ed6ebac824ea43d6da689">SecureChannelCredentials</a>* AsSecureCredentials() = 0;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">friend</span> std::shared_ptr&lt;Channel&gt; <a class="code" href="namespacegrpc__impl.html#a0af0e855f421fdb8fb657aec0e6afdfd">CreateCustomChannelImpl</a>(</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; target,</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;ChannelCredentials&gt;&amp; creds,</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">const</span> <a class="code" href="classgrpc__impl_1_1_channel_arguments.html">ChannelArguments</a>&amp; args);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">friend</span> std::shared_ptr&lt;Channel&gt;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="namespacegrpc__impl_1_1experimental.html#a9c746351c2dfd50ca78d7929c66e2a89">grpc_impl::experimental::CreateCustomChannelWithInterceptors</a>(</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; target,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;ChannelCredentials&gt;&amp; creds,</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">const</span> <a class="code" href="classgrpc__impl_1_1_channel_arguments.html">ChannelArguments</a>&amp; args,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; std::vector&lt;std::unique_ptr&lt;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a>&gt;&gt;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; interceptor_creators);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keyword">virtual</span> std::shared_ptr&lt;Channel&gt; <a class="code" href="namespacegrpc__impl.html#abee8d7d8aa88bb130b9d490dcff30bd9">CreateChannelImpl</a>(</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; target, <span class="keyword">const</span> <a class="code" href="classgrpc__impl_1_1_channel_arguments.html">ChannelArguments</a>&amp; args) = 0;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="comment">// This function should have been a pure virtual function, but it is</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="comment">// implemented as a virtual function so that it does not break API.</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keyword">virtual</span> std::shared_ptr&lt;Channel&gt; CreateChannelWithInterceptors(</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; target, <span class="keyword">const</span> <a class="code" href="classgrpc__impl_1_1_channel_arguments.html">ChannelArguments</a>&amp; args,</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; std::vector&lt;std::unique_ptr&lt;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a>&gt;&gt;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; interceptor_creators) {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;};</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classgrpc__impl_1_1_call_credentials.html"> 110</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc__impl_1_1_call_credentials.html">CallCredentials</a> : <span class="keyword">private</span> <a class="code" href="classgrpc_1_1_grpc_library_codegen.html">grpc::GrpcLibraryCodegen</a> {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="namespacegrpc.html#a342736b8414b0f55bf7154e0ddfaddd2">CallCredentials</a>();</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; ~<a class="code" href="classgrpc__impl_1_1_call_credentials.html">CallCredentials</a>();</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> ApplyToCall(<a class="code" href="grpc__types_8h.html#a122f8f4f0a585396d993d9b55848f222">grpc_call</a>* call) = 0;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keyword">friend</span> std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a59409a2853f39bd444964a886a836e17">CompositeChannelCredentials</a>(</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;ChannelCredentials&gt;&amp; channel_creds,</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;CallCredentials&gt;&amp; call_creds);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keyword">friend</span> std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a326eea880361ad2aa40dd87af6d64812">CompositeCallCredentials</a>(</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;CallCredentials&gt;&amp; creds1,</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;CallCredentials&gt;&amp; creds2);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keyword">virtual</span> <a class="code" href="namespacegrpc.html#ac98f7fcdb6e918b043433c20197c20b6">SecureCallCredentials</a>* AsSecureCredentials() = 0;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;};</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1_ssl_credentials_options.html"> 131</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrpc__impl_1_1_ssl_credentials_options.html">SslCredentialsOptions</a> {</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1_ssl_credentials_options.html#a0a00552b843196f3e62eb6d904cff8fc"> 137</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1_ssl_credentials_options.html#a0a00552b843196f3e62eb6d904cff8fc">pem_root_certs</a>;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1_ssl_credentials_options.html#a3315b434219f4041b502c7fc4363d50f"> 141</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1_ssl_credentials_options.html#a3315b434219f4041b502c7fc4363d50f">pem_private_key</a>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1_ssl_credentials_options.html#aebf33c57acdbc3a11998370cc7b943dd"> 146</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1_ssl_credentials_options.html#aebf33c57acdbc3a11998370cc7b943dd">pem_cert_chain</a>;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;};</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="comment">// Factories for building different types of Credentials The functions may</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="comment">// return empty shared_ptr when credentials cannot be created. If a</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="comment">// Credentials pointer is returned, it can still be invalid when used to create</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="comment">// a channel. A lame channel will be created then and all rpcs will fail on it.</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a716b62a52c430203845d1cb842937941">GoogleDefaultCredentials</a>();</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl.html#aa295989df52aba9b0ec29f1a7cb95855">SslCredentials</a>(</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keyword">const</span> <a class="code" href="structgrpc__impl_1_1_ssl_credentials_options.html">SslCredentialsOptions</a>&amp; options);</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a98cb7bf6726d52affdc6cdea7575de09">GoogleComputeEngineCredentials</a>();</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="namespacegrpc__impl.html#a592337ba7d1818fee23b00ac6a92997f"> 174</a></span>&#160;constexpr <span class="keywordtype">long</span> <a class="code" href="namespacegrpc__impl.html#a592337ba7d1818fee23b00ac6a92997f">kMaxAuthTokenLifetimeSecs</a> = 3600;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#ac0597900fb34b4b05c81d64222f977ab">ServiceAccountJWTAccessCredentials</a>(</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; json_key,</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">long</span> token_lifetime_seconds = <a class="code" href="namespacegrpc__impl.html#a592337ba7d1818fee23b00ac6a92997f">grpc_impl::kMaxAuthTokenLifetimeSecs</a>);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#abdcdf926a18f351efe4fb138be22118e">GoogleRefreshTokenCredentials</a>(</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; json_refresh_token);</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a39845f5afa1f3a323186489673e35930">AccessTokenCredentials</a>(</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; access_token);</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#aa00f53af2d448ba0fc29b232fa870b6a">GoogleIAMCredentials</a>(</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; authorization_token,</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; authority_selector);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a59409a2853f39bd444964a886a836e17">CompositeChannelCredentials</a>(</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;ChannelCredentials&gt;&amp; channel_creds,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;CallCredentials&gt;&amp; call_creds);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a326eea880361ad2aa40dd87af6d64812">CompositeCallCredentials</a>(</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;CallCredentials&gt;&amp; creds1,</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keyword">const</span> std::shared_ptr&lt;CallCredentials&gt;&amp; creds2);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl.html#a13d23f83df13be5c4d3a81387478c4e4">InsecureChannelCredentials</a>();</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classgrpc__impl_1_1_metadata_credentials_plugin.html"> 232</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc__impl_1_1_metadata_credentials_plugin.html">MetadataCredentialsPlugin</a> {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classgrpc__impl_1_1_metadata_credentials_plugin.html#abbe9ba4326c8595a32d80b3a90efced5"> 234</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classgrpc__impl_1_1_metadata_credentials_plugin.html#abbe9ba4326c8595a32d80b3a90efced5">~MetadataCredentialsPlugin</a>() {}</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classgrpc__impl_1_1_metadata_credentials_plugin.html#a99e59926089444f1ece3c7d28deca1b8"> 238</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classgrpc__impl_1_1_metadata_credentials_plugin.html#a99e59926089444f1ece3c7d28deca1b8">IsBlocking</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classgrpc__impl_1_1_metadata_credentials_plugin.html#ac064c256ad6577cd200df972d56c24bf"> 241</a></span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classgrpc__impl_1_1_metadata_credentials_plugin.html#ac064c256ad6577cd200df972d56c24bf">GetType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">&quot;&quot;</span>; }</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classgrpc_1_1_status.html">grpc::Status</a> GetMetadata(</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="code" href="classgrpc_1_1string__ref.html">grpc::string_ref</a> service_url, <a class="code" href="classgrpc_1_1string__ref.html">grpc::string_ref</a> method_name,</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_auth_context.html">grpc::AuthContext</a>&amp; channel_auth_context,</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; std::multimap&lt;grpc::string, grpc::string&gt;* metadata) = 0;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;};</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl.html#af7f03cbfa6ec94c67c2cb9676f4841b6">MetadataCredentialsFromPlugin</a>(</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; std::unique_ptr&lt;MetadataCredentialsPlugin&gt; plugin);</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<span class="keyword">namespace </span>experimental {</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html"> 264</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a> {</div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a073a29a09dab122fbf5786410b9f99be"> 265</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a073a29a09dab122fbf5786410b9f99be">token_exchange_service_uri</a>; <span class="comment">// Required.</span></div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a47337ba32e8386f51ab6994d65dd39e2"> 266</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a47337ba32e8386f51ab6994d65dd39e2">resource</a>; <span class="comment">// Optional.</span></div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a8569e83653d70105ede0c97e22d2f357"> 267</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a8569e83653d70105ede0c97e22d2f357">audience</a>; <span class="comment">// Optional.</span></div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a0ad4710e90fde220a91b825d4853d6eb"> 268</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a0ad4710e90fde220a91b825d4853d6eb">scope</a>; <span class="comment">// Optional.</span></div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#aecb3f18700d93fe35f52982f333ce182"> 269</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#aecb3f18700d93fe35f52982f333ce182">requested_token_type</a>; <span class="comment">// Optional.</span></div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#ae66e9ae746202d4838785084d10b7f8a"> 270</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#ae66e9ae746202d4838785084d10b7f8a">subject_token_path</a>; <span class="comment">// Required.</span></div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#abffb23437a4eea82f5c017edc114aeb8"> 271</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#abffb23437a4eea82f5c017edc114aeb8">subject_token_type</a>; <span class="comment">// Required.</span></div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a66274206d307a03e15722eddbb37d71a"> 272</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a66274206d307a03e15722eddbb37d71a">actor_token_path</a>; <span class="comment">// Optional.</span></div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#adc8c623c8fb15088813bb9f31793275e"> 273</a></span>&#160; <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#adc8c623c8fb15088813bb9f31793275e">actor_token_type</a>; <span class="comment">// Optional.</span></div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;};</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;<a class="code" href="classgrpc_1_1_status.html">grpc::Status</a> <a class="code" href="namespacegrpc__impl_1_1experimental.html#a83d31778cd73e3b708d8cd422038c09b">StsCredentialsOptionsFromJson</a>(<span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; json_string,</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a>* options);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;<a class="code" href="classgrpc_1_1_status.html">grpc::Status</a> <a class="code" href="namespacegrpc__impl_1_1experimental.html#aede3f7e0584dea73197d2913b0a4defe">StsCredentialsOptionsFromEnv</a>(<a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a>* options);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;std::shared_ptr&lt;CallCredentials&gt; <a class="code" href="namespacegrpc__impl_1_1experimental.html#a0438f46fa3968eb6e904005356b8c531">StsCredentials</a>(</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <span class="keyword">const</span> <a class="code" href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a>&amp; options);</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;</div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_alts_credentials_options.html"> 324</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrpc__impl_1_1experimental_1_1_alts_credentials_options.html">AltsCredentialsOptions</a> {</div><div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="structgrpc__impl_1_1experimental_1_1_alts_credentials_options.html#a51caf7edc34ec2f5c30c6d7aca619e75"> 328</a></span>&#160; std::vector&lt;grpc::string&gt; <a class="code" href="structgrpc__impl_1_1experimental_1_1_alts_credentials_options.html#a51caf7edc34ec2f5c30c6d7aca619e75">target_service_accounts</a>;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;};</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160;std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl_1_1experimental.html#a451bdb10d6605054a44c6dc39b233ddc">AltsCredentials</a>(</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="keyword">const</span> <a class="code" href="structgrpc__impl_1_1experimental_1_1_alts_credentials_options.html">AltsCredentialsOptions</a>&amp; options);</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;std::shared_ptr&lt;ChannelCredentials&gt; <a class="code" href="namespacegrpc__impl_1_1experimental.html#a64ae0296aed5117e1eb5c48bbed67604">LocalCredentials</a>(</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <a class="code" href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11">grpc_local_connect_type</a> type);</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;} <span class="comment">// namespace experimental</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;} <span class="comment">// namespace grpc_impl</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;<span class="preprocessor">#endif // GRPCPP_SECURITY_CREDENTIALS_IMPL_H</span></div><div class="ttc" id="grpc__types_8h_html_a122f8f4f0a585396d993d9b55848f222"><div class="ttname"><a href="grpc__types_8h.html#a122f8f4f0a585396d993d9b55848f222">grpc_call</a></div><div class="ttdeci">struct grpc_call grpc_call</div><div class="ttdoc">A Call represents an RPC. </div><div class="ttdef"><b>Definition:</b> grpc_types.h:70</div></div>
  69. <div class="ttc" id="grpcpp_2security_2auth__context_8h_html"><div class="ttname"><a href="grpcpp_2security_2auth__context_8h.html">auth_context.h</a></div></div>
  70. <div class="ttc" id="namespacegrpc__impl_html_a716b62a52c430203845d1cb842937941"><div class="ttname"><a href="namespacegrpc__impl.html#a716b62a52c430203845d1cb842937941">grpc_impl::GoogleDefaultCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; ChannelCredentials &gt; GoogleDefaultCredentials()</div><div class="ttdoc">Builds credentials with reasonable defaults. </div></div>
  71. <div class="ttc" id="namespacegrpc_html_ab04a87625da3bf85cdaf5e7856b00203"><div class="ttname"><a href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a></div><div class="ttdeci">std::string string</div><div class="ttdef"><b>Definition:</b> config.h:35</div></div>
  72. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html">grpc_impl::experimental::StsCredentialsOptions</a></div><div class="ttdoc">Options for creating STS Oauth Token Exchange credentials following the IETF draft https://tools...</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:264</div></div>
  73. <div class="ttc" id="classgrpc__impl_1_1_call_credentials_html"><div class="ttname"><a href="classgrpc__impl_1_1_call_credentials.html">grpc_impl::CallCredentials</a></div><div class="ttdoc">A call credentials object encapsulates the state needed by a client to authenticate with a server for...</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:110</div></div>
  74. <div class="ttc" id="namespacegrpc_html_a1870277cca7ed6ebac824ea43d6da689"><div class="ttname"><a href="namespacegrpc.html#a1870277cca7ed6ebac824ea43d6da689">grpc::SecureChannelCredentials</a></div><div class="ttdeci">::grpc_impl::SecureChannelCredentials SecureChannelCredentials</div><div class="ttdef"><b>Definition:</b> credentials.h:30</div></div>
  75. <div class="ttc" id="grpcpp_2support_2string__ref_8h_html"><div class="ttname"><a href="grpcpp_2support_2string__ref_8h.html">string_ref.h</a></div></div>
  76. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_alts_credentials_options_html"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_alts_credentials_options.html">grpc_impl::experimental::AltsCredentialsOptions</a></div><div class="ttdoc">Options used to build AltsCredentials. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:324</div></div>
  77. <div class="ttc" id="structgrpc__impl_1_1_ssl_credentials_options_html_a3315b434219f4041b502c7fc4363d50f"><div class="ttname"><a href="structgrpc__impl_1_1_ssl_credentials_options.html#a3315b434219f4041b502c7fc4363d50f">grpc_impl::SslCredentialsOptions::pem_private_key</a></div><div class="ttdeci">grpc::string pem_private_key</div><div class="ttdoc">The buffer containing the PEM encoding of the client&amp;#39;s private key. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:141</div></div>
  78. <div class="ttc" id="classgrpc__impl_1_1_metadata_credentials_plugin_html_ac064c256ad6577cd200df972d56c24bf"><div class="ttname"><a href="classgrpc__impl_1_1_metadata_credentials_plugin.html#ac064c256ad6577cd200df972d56c24bf">grpc_impl::MetadataCredentialsPlugin::GetType</a></div><div class="ttdeci">virtual const char * GetType() const</div><div class="ttdoc">Type of credentials this plugin is implementing. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:241</div></div>
  79. <div class="ttc" id="namespacegrpc_html_aaf2939b1b4a48aa00606f8e986bf21de"><div class="ttname"><a href="namespacegrpc.html#aaf2939b1b4a48aa00606f8e986bf21de">grpc::ChannelCredentials</a></div><div class="ttdeci">::grpc_impl::ChannelCredentials ChannelCredentials</div><div class="ttdef"><b>Definition:</b> credentials.h:26</div></div>
  80. <div class="ttc" id="classgrpc_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>
  81. <div class="ttc" id="namespacegrpc__impl_html_abee8d7d8aa88bb130b9d490dcff30bd9"><div class="ttname"><a href="namespacegrpc__impl.html#abee8d7d8aa88bb130b9d490dcff30bd9">grpc_impl::CreateChannelImpl</a></div><div class="ttdeci">std::shared_ptr&lt;::grpc::Channel &gt; CreateChannelImpl(const grpc::string &amp;target, const std::shared_ptr&lt;::grpc::ChannelCredentials &gt; &amp;creds)</div><div class="ttdoc">Create a new Channel pointing to target. </div></div>
  82. <div class="ttc" id="namespacegrpc_html_a0fb985b4797b9d239bc8164ed1bad223"><div class="ttname"><a href="namespacegrpc.html#a0fb985b4797b9d239bc8164ed1bad223">grpc::ChannelArguments</a></div><div class="ttdeci">::grpc_impl::ChannelArguments ChannelArguments</div><div class="ttdef"><b>Definition:</b> channel_arguments.h:32</div></div>
  83. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_a66274206d307a03e15722eddbb37d71a"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a66274206d307a03e15722eddbb37d71a">grpc_impl::experimental::StsCredentialsOptions::actor_token_path</a></div><div class="ttdeci">grpc::string actor_token_path</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:272</div></div>
  84. <div class="ttc" id="grpc__security__constants_8h_html"><div class="ttname"><a href="grpc__security__constants_8h.html">grpc_security_constants.h</a></div></div>
  85. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_a073a29a09dab122fbf5786410b9f99be"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a073a29a09dab122fbf5786410b9f99be">grpc_impl::experimental::StsCredentialsOptions::token_exchange_service_uri</a></div><div class="ttdeci">grpc::string token_exchange_service_uri</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:265</div></div>
  86. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_ae66e9ae746202d4838785084d10b7f8a"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#ae66e9ae746202d4838785084d10b7f8a">grpc_impl::experimental::StsCredentialsOptions::subject_token_path</a></div><div class="ttdeci">grpc::string subject_token_path</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:270</div></div>
  87. <div class="ttc" id="classgrpc_1_1_grpc_library_codegen_html"><div class="ttname"><a href="classgrpc_1_1_grpc_library_codegen.html">grpc::GrpcLibraryCodegen</a></div><div class="ttdoc">Classes that require gRPC to be initialized should inherit from this class. </div><div class="ttdef"><b>Definition:</b> grpc_library.h:38</div></div>
  88. <div class="ttc" id="namespacegrpc__impl_html_aa00f53af2d448ba0fc29b232fa870b6a"><div class="ttname"><a href="namespacegrpc__impl.html#aa00f53af2d448ba0fc29b232fa870b6a">grpc_impl::GoogleIAMCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; GoogleIAMCredentials(const grpc::string &amp;authorization_token, const grpc::string &amp;authority_selector)</div><div class="ttdoc">Builds IAM credentials. </div></div>
  89. <div class="ttc" id="namespacegrpc__impl_1_1experimental_html_aede3f7e0584dea73197d2913b0a4defe"><div class="ttname"><a href="namespacegrpc__impl_1_1experimental.html#aede3f7e0584dea73197d2913b0a4defe">grpc_impl::experimental::StsCredentialsOptionsFromEnv</a></div><div class="ttdeci">grpc::Status StsCredentialsOptionsFromEnv(StsCredentialsOptions *options)</div><div class="ttdoc">Creates STS credentials options from the $STS_CREDENTIALS environment variable. </div></div>
  90. <div class="ttc" id="namespacegrpc__impl_1_1experimental_html_a83d31778cd73e3b708d8cd422038c09b"><div class="ttname"><a href="namespacegrpc__impl_1_1experimental.html#a83d31778cd73e3b708d8cd422038c09b">grpc_impl::experimental::StsCredentialsOptionsFromJson</a></div><div class="ttdeci">grpc::Status StsCredentialsOptionsFromJson(const grpc::string &amp;json_string, StsCredentialsOptions *options)</div><div class="ttdoc">Creates STS Options from a JSON string. </div></div>
  91. <div class="ttc" id="namespacegrpc__impl_html_ac0597900fb34b4b05c81d64222f977ab"><div class="ttname"><a href="namespacegrpc__impl.html#ac0597900fb34b4b05c81d64222f977ab">grpc_impl::ServiceAccountJWTAccessCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; ServiceAccountJWTAccessCredentials(const grpc::string &amp;json_key, long token_lifetime_seconds=grpc_impl::kMaxAuthTokenLifetimeSecs)</div><div class="ttdoc">Builds Service Account JWT Access credentials. </div></div>
  92. <div class="ttc" id="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface_html"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a></div><div class="ttdef"><b>Definition:</b> client_interceptor.h:49</div></div>
  93. <div class="ttc" id="grpcpp_2support_2status_8h_html"><div class="ttname"><a href="grpcpp_2support_2status_8h.html">status.h</a></div></div>
  94. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_abffb23437a4eea82f5c017edc114aeb8"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#abffb23437a4eea82f5c017edc114aeb8">grpc_impl::experimental::StsCredentialsOptions::subject_token_type</a></div><div class="ttdeci">grpc::string subject_token_type</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:271</div></div>
  95. <div class="ttc" id="namespacegrpc__impl_html_a13d23f83df13be5c4d3a81387478c4e4"><div class="ttname"><a href="namespacegrpc__impl.html#a13d23f83df13be5c4d3a81387478c4e4">grpc_impl::InsecureChannelCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; ChannelCredentials &gt; InsecureChannelCredentials()</div><div class="ttdoc">Credentials for an unencrypted, unauthenticated channel. </div></div>
  96. <div class="ttc" id="namespacegrpc__impl_html_a98cb7bf6726d52affdc6cdea7575de09"><div class="ttname"><a href="namespacegrpc__impl.html#a98cb7bf6726d52affdc6cdea7575de09">grpc_impl::GoogleComputeEngineCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; GoogleComputeEngineCredentials()</div><div class="ttdoc">Builds credentials for use when running in GCE. </div></div>
  97. <div class="ttc" id="classgrpc__impl_1_1_metadata_credentials_plugin_html_a99e59926089444f1ece3c7d28deca1b8"><div class="ttname"><a href="classgrpc__impl_1_1_metadata_credentials_plugin.html#a99e59926089444f1ece3c7d28deca1b8">grpc_impl::MetadataCredentialsPlugin::IsBlocking</a></div><div class="ttdeci">virtual bool IsBlocking() const</div><div class="ttdoc">If this method returns true, the Process function will be scheduled in a different thread from the on...</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:238</div></div>
  98. <div class="ttc" id="channel__impl_8h_html"><div class="ttname"><a href="channel__impl_8h.html">channel_impl.h</a></div></div>
  99. <div class="ttc" id="structgrpc__impl_1_1_ssl_credentials_options_html"><div class="ttname"><a href="structgrpc__impl_1_1_ssl_credentials_options.html">grpc_impl::SslCredentialsOptions</a></div><div class="ttdoc">Options used to build SslCredentials. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:131</div></div>
  100. <div class="ttc" id="namespacegrpc__impl_1_1experimental_html_a0438f46fa3968eb6e904005356b8c531"><div class="ttname"><a href="namespacegrpc__impl_1_1experimental.html#a0438f46fa3968eb6e904005356b8c531">grpc_impl::experimental::StsCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; StsCredentials(const StsCredentialsOptions &amp;options)</div></div>
  101. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_alts_credentials_options_html_a51caf7edc34ec2f5c30c6d7aca619e75"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_alts_credentials_options.html#a51caf7edc34ec2f5c30c6d7aca619e75">grpc_impl::experimental::AltsCredentialsOptions::target_service_accounts</a></div><div class="ttdeci">std::vector&lt; grpc::string &gt; target_service_accounts</div><div class="ttdoc">service accounts of target endpoint that will be acceptable by the client. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:328</div></div>
  102. <div class="ttc" id="namespacegrpc__impl_html_a39845f5afa1f3a323186489673e35930"><div class="ttname"><a href="namespacegrpc__impl.html#a39845f5afa1f3a323186489673e35930">grpc_impl::AccessTokenCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; AccessTokenCredentials(const grpc::string &amp;access_token)</div><div class="ttdoc">Builds access token credentials. </div></div>
  103. <div class="ttc" id="grpcpp_2impl_2codegen_2grpc__library_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2grpc__library_8h.html">grpc_library.h</a></div></div>
  104. <div class="ttc" id="namespacegrpc_html_a342736b8414b0f55bf7154e0ddfaddd2"><div class="ttname"><a href="namespacegrpc.html#a342736b8414b0f55bf7154e0ddfaddd2">grpc::CallCredentials</a></div><div class="ttdeci">::grpc_impl::CallCredentials CallCredentials</div><div class="ttdef"><b>Definition:</b> credentials.h:27</div></div>
  105. <div class="ttc" id="impl_2codegen_2client__interceptor_8h_html"><div class="ttname"><a href="impl_2codegen_2client__interceptor_8h.html">client_interceptor.h</a></div></div>
  106. <div class="ttc" id="classgrpc__impl_1_1_metadata_credentials_plugin_html_abbe9ba4326c8595a32d80b3a90efced5"><div class="ttname"><a href="classgrpc__impl_1_1_metadata_credentials_plugin.html#abbe9ba4326c8595a32d80b3a90efced5">grpc_impl::MetadataCredentialsPlugin::~MetadataCredentialsPlugin</a></div><div class="ttdeci">virtual ~MetadataCredentialsPlugin()</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:234</div></div>
  107. <div class="ttc" id="classgrpc__impl_1_1_channel_arguments_html"><div class="ttname"><a href="classgrpc__impl_1_1_channel_arguments.html">grpc_impl::ChannelArguments</a></div><div class="ttdoc">Options for channel creation. </div><div class="ttdef"><b>Definition:</b> channel_arguments_impl.h:43</div></div>
  108. <div class="ttc" id="structgrpc__impl_1_1_ssl_credentials_options_html_aebf33c57acdbc3a11998370cc7b943dd"><div class="ttname"><a href="structgrpc__impl_1_1_ssl_credentials_options.html#aebf33c57acdbc3a11998370cc7b943dd">grpc_impl::SslCredentialsOptions::pem_cert_chain</a></div><div class="ttdeci">grpc::string pem_cert_chain</div><div class="ttdoc">The buffer containing the PEM encoding of the client&amp;#39;s certificate chain. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:146</div></div>
  109. <div class="ttc" id="namespacegrpc__impl_html_a59409a2853f39bd444964a886a836e17"><div class="ttname"><a href="namespacegrpc__impl.html#a59409a2853f39bd444964a886a836e17">grpc_impl::CompositeChannelCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; ChannelCredentials &gt; CompositeChannelCredentials(const std::shared_ptr&lt; ChannelCredentials &gt; &amp;channel_creds, const std::shared_ptr&lt; CallCredentials &gt; &amp;call_creds)</div><div class="ttdoc">Combines a channel credentials and a call credentials into a composite channel credentials. </div><div class="ttdef"><b>Definition:</b> credentials.h:77</div></div>
  110. <div class="ttc" id="classgrpc__impl_1_1_channel_credentials_html"><div class="ttname"><a href="classgrpc__impl_1_1_channel_credentials.html">grpc_impl::ChannelCredentials</a></div><div class="ttdoc">A channel credentials object encapsulates all the state needed by a client to authenticate with a ser...</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:65</div></div>
  111. <div class="ttc" id="namespacegrpc__impl_html"><div class="ttname"><a href="namespacegrpc__impl.html">grpc_impl</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_impl.h:33</div></div>
  112. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_a8569e83653d70105ede0c97e22d2f357"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a8569e83653d70105ede0c97e22d2f357">grpc_impl::experimental::StsCredentialsOptions::audience</a></div><div class="ttdeci">grpc::string audience</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:267</div></div>
  113. <div class="ttc" id="namespacegrpc__impl_html_a592337ba7d1818fee23b00ac6a92997f"><div class="ttname"><a href="namespacegrpc__impl.html#a592337ba7d1818fee23b00ac6a92997f">grpc_impl::kMaxAuthTokenLifetimeSecs</a></div><div class="ttdeci">constexpr long kMaxAuthTokenLifetimeSecs</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:174</div></div>
  114. <div class="ttc" id="namespacegrpc__impl_1_1experimental_html_a9c746351c2dfd50ca78d7929c66e2a89"><div class="ttname"><a href="namespacegrpc__impl_1_1experimental.html#a9c746351c2dfd50ca78d7929c66e2a89">grpc_impl::experimental::CreateCustomChannelWithInterceptors</a></div><div class="ttdeci">std::shared_ptr&lt;::grpc::Channel &gt; CreateCustomChannelWithInterceptors(const grpc::string &amp;target, const std::shared_ptr&lt; grpc::ChannelCredentials &gt; &amp;creds, const ::grpc::ChannelArguments &amp;args, std::vector&lt; std::unique_ptr&lt; grpc::experimental::ClientInterceptorFactoryInterface &gt;&gt; interceptor_creators)</div><div class="ttdoc">Create a new custom Channel pointing to target with interceptors being invoked per call...</div></div>
  115. <div class="ttc" id="classgrpc_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>
  116. <div class="ttc" id="namespacegrpc_html_ac98f7fcdb6e918b043433c20197c20b6"><div class="ttname"><a href="namespacegrpc.html#ac98f7fcdb6e918b043433c20197c20b6">grpc::SecureCallCredentials</a></div><div class="ttdeci">::grpc_impl::SecureCallCredentials SecureCallCredentials</div><div class="ttdef"><b>Definition:</b> credentials.h:29</div></div>
  117. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_a0ad4710e90fde220a91b825d4853d6eb"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a0ad4710e90fde220a91b825d4853d6eb">grpc_impl::experimental::StsCredentialsOptions::scope</a></div><div class="ttdeci">grpc::string scope</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:268</div></div>
  118. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_adc8c623c8fb15088813bb9f31793275e"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#adc8c623c8fb15088813bb9f31793275e">grpc_impl::experimental::StsCredentialsOptions::actor_token_type</a></div><div class="ttdeci">grpc::string actor_token_type</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:273</div></div>
  119. <div class="ttc" id="classgrpc_1_1_status_html"><div class="ttname"><a href="classgrpc_1_1_status.html">grpc::Status</a></div><div class="ttdoc">Did it work? If it didn&amp;#39;t, why? </div><div class="ttdef"><b>Definition:</b> status.h:31</div></div>
  120. <div class="ttc" id="namespacegrpc__impl_html_a0af0e855f421fdb8fb657aec0e6afdfd"><div class="ttname"><a href="namespacegrpc__impl.html#a0af0e855f421fdb8fb657aec0e6afdfd">grpc_impl::CreateCustomChannelImpl</a></div><div class="ttdeci">std::shared_ptr&lt;::grpc::Channel &gt; CreateCustomChannelImpl(const grpc::string &amp;target, const std::shared_ptr&lt;::grpc::ChannelCredentials &gt; &amp;creds, const ::grpc::ChannelArguments &amp;args)</div><div class="ttdoc">Create a new custom Channel pointing to target. </div></div>
  121. <div class="ttc" id="namespacegrpc__impl_1_1experimental_html_a64ae0296aed5117e1eb5c48bbed67604"><div class="ttname"><a href="namespacegrpc__impl_1_1experimental.html#a64ae0296aed5117e1eb5c48bbed67604">grpc_impl::experimental::LocalCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; ChannelCredentials &gt; LocalCredentials(grpc_local_connect_type type)</div><div class="ttdoc">Builds Local Credentials. </div></div>
  122. <div class="ttc" id="namespacegrpc__impl_html_abdcdf926a18f351efe4fb138be22118e"><div class="ttname"><a href="namespacegrpc__impl.html#abdcdf926a18f351efe4fb138be22118e">grpc_impl::GoogleRefreshTokenCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; GoogleRefreshTokenCredentials(const grpc::string &amp;json_refresh_token)</div><div class="ttdoc">Builds refresh token credentials. </div></div>
  123. <div class="ttc" id="namespacegrpc__impl_html_a326eea880361ad2aa40dd87af6d64812"><div class="ttname"><a href="namespacegrpc__impl.html#a326eea880361ad2aa40dd87af6d64812">grpc_impl::CompositeCallCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; CompositeCallCredentials(const std::shared_ptr&lt; CallCredentials &gt; &amp;creds1, const std::shared_ptr&lt; CallCredentials &gt; &amp;creds2)</div><div class="ttdoc">Combines two call credentials objects into a composite call credentials. </div><div class="ttdef"><b>Definition:</b> credentials.h:84</div></div>
  124. <div class="ttc" id="structgrpc__impl_1_1_ssl_credentials_options_html_a0a00552b843196f3e62eb6d904cff8fc"><div class="ttname"><a href="structgrpc__impl_1_1_ssl_credentials_options.html#a0a00552b843196f3e62eb6d904cff8fc">grpc_impl::SslCredentialsOptions::pem_root_certs</a></div><div class="ttdeci">grpc::string pem_root_certs</div><div class="ttdoc">The buffer containing the PEM encoding of the server root certificates. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:137</div></div>
  125. <div class="ttc" id="classgrpc__impl_1_1_metadata_credentials_plugin_html"><div class="ttname"><a href="classgrpc__impl_1_1_metadata_credentials_plugin.html">grpc_impl::MetadataCredentialsPlugin</a></div><div class="ttdoc">User defined metadata credentials. </div><div class="ttdef"><b>Definition:</b> credentials_impl.h:232</div></div>
  126. <div class="ttc" id="namespacegrpc__impl_html_af7f03cbfa6ec94c67c2cb9676f4841b6"><div class="ttname"><a href="namespacegrpc__impl.html#af7f03cbfa6ec94c67c2cb9676f4841b6">grpc_impl::MetadataCredentialsFromPlugin</a></div><div class="ttdeci">std::shared_ptr&lt; CallCredentials &gt; MetadataCredentialsFromPlugin(std::unique_ptr&lt; MetadataCredentialsPlugin &gt; plugin)</div></div>
  127. <div class="ttc" id="channel__arguments__impl_8h_html"><div class="ttname"><a href="channel__arguments__impl_8h.html">channel_arguments_impl.h</a></div></div>
  128. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_a47337ba32e8386f51ab6994d65dd39e2"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#a47337ba32e8386f51ab6994d65dd39e2">grpc_impl::experimental::StsCredentialsOptions::resource</a></div><div class="ttdeci">grpc::string resource</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:266</div></div>
  129. <div class="ttc" id="grpc__security__constants_8h_html_a31d00ce5c064e1fff4261a6d6298dc11"><div class="ttname"><a href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11">grpc_local_connect_type</a></div><div class="ttdeci">grpc_local_connect_type</div><div class="ttdoc">Type of local connections for which local channel/server credentials will be applied. </div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:112</div></div>
  130. <div class="ttc" id="namespacegrpc__impl_html_aa295989df52aba9b0ec29f1a7cb95855"><div class="ttname"><a href="namespacegrpc__impl.html#aa295989df52aba9b0ec29f1a7cb95855">grpc_impl::SslCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; ChannelCredentials &gt; SslCredentials(const SslCredentialsOptions &amp;options)</div><div class="ttdoc">Builds SSL Credentials given SSL specific options. </div></div>
  131. <div class="ttc" id="namespacegrpc__impl_1_1experimental_html_a451bdb10d6605054a44c6dc39b233ddc"><div class="ttname"><a href="namespacegrpc__impl_1_1experimental.html#a451bdb10d6605054a44c6dc39b233ddc">grpc_impl::experimental::AltsCredentials</a></div><div class="ttdeci">std::shared_ptr&lt; ChannelCredentials &gt; AltsCredentials(const AltsCredentialsOptions &amp;options)</div><div class="ttdoc">Builds ALTS Credentials given ALTS specific options. </div></div>
  132. <div class="ttc" id="structgrpc__impl_1_1experimental_1_1_sts_credentials_options_html_aecb3f18700d93fe35f52982f333ce182"><div class="ttname"><a href="structgrpc__impl_1_1experimental_1_1_sts_credentials_options.html#aecb3f18700d93fe35f52982f333ce182">grpc_impl::experimental::StsCredentialsOptions::requested_token_type</a></div><div class="ttdeci">grpc::string requested_token_type</div><div class="ttdef"><b>Definition:</b> credentials_impl.h:269</div></div>
  133. </div><!-- fragment --></div><!-- contents -->
  134. <!-- start footer part -->
  135. <hr class="footer"/><address class="footer"><small>
  136. Generated on Mon Aug 19 2019 12:05:23 for GRPC C++ by &#160;<a href="http://www.doxygen.org/index.html">
  137. <img class="footer" src="doxygen.png" alt="doxygen"/>
  138. </a> 1.8.13
  139. </small></address>
  140. </body>
  141. </html>