123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409 |
- <!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/credentials.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++
-  <span id="projectnumber">1.36.1</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&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&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">credentials.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="grpcpp_2security_2credentials_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> <span class="comment">/*</span></div>
- <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2015 gRPC authors.</span></div>
- <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div>
- <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <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> <span class="comment"> *</span></div>
- <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <span class="comment"> *</span></div>
- <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <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> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
- <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <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> <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> <span class="comment"> * limitations under the License.</span></div>
- <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
- <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef GRPCPP_SECURITY_CREDENTIALS_H</span></div>
- <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define GRPCPP_SECURITY_CREDENTIALS_H</span></div>
- <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
- <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <map></span></div>
- <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <memory></span></div>
- <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <vector></span></div>
- <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
- <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="grpc__security__constants_8h.html">grpc/grpc_security_constants.h</a>></span></div>
- <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2channel_8h.html">grpcpp/channel.h</a>></span></div>
- <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="impl_2codegen_2client__interceptor_8h.html">grpcpp/impl/codegen/client_interceptor.h</a>></span></div>
- <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2impl_2codegen_2grpc__library_8h.html">grpcpp/impl/codegen/grpc_library.h</a>></span></div>
- <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2security_2auth__context_8h.html">grpcpp/security/auth_context.h</a>></span></div>
- <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="tls__credentials__options_8h.html">grpcpp/security/tls_credentials_options.h</a>></span></div>
- <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2support_2channel__arguments_8h.html">grpcpp/support/channel_arguments.h</a>></span></div>
- <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2support_2status_8h.html">grpcpp/support/status.h</a>></span></div>
- <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2support_2string__ref_8h.html">grpcpp/support/string_ref.h</a>></span></div>
- <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
- <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">struct </span><a class="code" href="grpc__types_8h.html#a122f8f4f0a585396d993d9b55848f222">grpc_call</a>;</div>
- <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
- <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">namespace </span><a class="code" href="namespacegrpc.html">grpc</a> {</div>
- <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">class </span>CallCredentials;</div>
- <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span>SecureCallCredentials;</div>
- <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">class </span>SecureChannelCredentials;</div>
- <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>ChannelCredentials;</div>
- <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
- <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> std::shared_ptr<Channel> <a class="code" href="namespacegrpc.html#a4a5c8a2c77389604feaa5d38cdd7b8d3">CreateCustomChannel</a>(</div>
- <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">const</span> grpc::string& target,</div>
- <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">const</span> std::shared_ptr<grpc::ChannelCredentials>& creds,</div>
- <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_channel_arguments.html">grpc::ChannelArguments</a>& args);</div>
- <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
- <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">namespace </span>experimental {</div>
- <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> std::shared_ptr<grpc::Channel> <a class="code" href="namespacegrpc_1_1experimental.html#af089b10a266c70f15aeb7e2156295a30">CreateCustomChannelWithInterceptors</a>(</div>
- <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">const</span> grpc::string& target,</div>
- <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">const</span> std::shared_ptr<grpc::ChannelCredentials>& creds,</div>
- <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_channel_arguments.html">grpc::ChannelArguments</a>& args,</div>
- <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  std::vector<</div>
- <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>></div>
- <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  interceptor_creators);</div>
- <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
- <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc_1_1experimental.html#a9c55f91536c2fbefcd8f8bea1db7125d">XdsCredentials</a>(</div>
- <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">const</span> std::shared_ptr<ChannelCredentials>& fallback_creds);</div>
- <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> } <span class="comment">// namespace experimental</span></div>
- <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
- <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classgrpc_1_1_channel_credentials.html"> 69</a></span> <span class="keyword">class </span><a class="code" href="classgrpc_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="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classgrpc_1_1_channel_credentials.html#a961606a781db020e7dbd100c00b8071b">ChannelCredentials</a>();</div>
- <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classgrpc_1_1_channel_credentials.html#a84d575b4c97fd74eecbd2605869989c2">~ChannelCredentials</a>() <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
- <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">protected</span>:</div>
- <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">friend</span> std::shared_ptr<ChannelCredentials> <a class="code" href="classgrpc_1_1_channel_credentials.html#ab603d68f9c9387554aa756b27b6b7359">CompositeChannelCredentials</a>(</div>
- <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">const</span> std::shared_ptr<ChannelCredentials>& channel_creds,</div>
- <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">const</span> std::shared_ptr<CallCredentials>& call_creds);</div>
- <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
- <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">// TODO(yashykt): We need this friend declaration mainly for access to</span></div>
- <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">// AsSecureCredentials(). Once we are able to remove insecure builds from gRPC</span></div>
- <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// (and also internal dependencies on the indirect method of creating a</span></div>
- <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">// channel through credentials), we would be able to remove this.</span></div>
- <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">friend</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc_1_1experimental.html#a9c55f91536c2fbefcd8f8bea1db7125d">grpc::experimental::XdsCredentials</a>(</div>
- <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">const</span> std::shared_ptr<ChannelCredentials>& fallback_creds);</div>
- <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
- <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">virtual</span> SecureChannelCredentials* <a class="code" href="classgrpc_1_1_channel_credentials.html#ac32961bb5ef29ba46bddaeb80fafd551">AsSecureCredentials</a>() = 0;</div>
- <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
- <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">private</span>:</div>
- <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">friend</span> std::shared_ptr<grpc::Channel> <a class="code" href="classgrpc_1_1_channel_credentials.html#a7ee0416f7e1fc38d75a911f67397cfb0">CreateCustomChannel</a>(</div>
- <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">const</span> grpc::string& target,</div>
- <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">const</span> std::shared_ptr<grpc::ChannelCredentials>& creds,</div>
- <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_channel_arguments.html">grpc::ChannelArguments</a>& args);</div>
- <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
- <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">friend</span> std::shared_ptr<grpc::Channel></div>
- <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="namespacegrpc_1_1experimental.html#af089b10a266c70f15aeb7e2156295a30">grpc::experimental::CreateCustomChannelWithInterceptors</a>(</div>
- <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">const</span> grpc::string& target,</div>
- <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">const</span> std::shared_ptr<grpc::ChannelCredentials>& creds,</div>
- <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_channel_arguments.html">grpc::ChannelArguments</a>& args,</div>
- <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  std::vector<std::unique_ptr<</div>
- <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a>>></div>
- <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  interceptor_creators);</div>
- <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
- <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">virtual</span> std::shared_ptr<Channel> CreateChannelImpl(</div>
- <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">const</span> grpc::string& target, <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_channel_arguments.html">ChannelArguments</a>& args) = 0;</div>
- <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
- <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// This function should have been a pure virtual function, but it is</span></div>
- <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// implemented as a virtual function so that it does not break API.</span></div>
- <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">virtual</span> std::shared_ptr<Channel> CreateChannelWithInterceptors(</div>
- <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">const</span> grpc::string& <span class="comment">/*target*/</span>, <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_channel_arguments.html">ChannelArguments</a>& <span class="comment">/*args*/</span>,</div>
- <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  std::vector<std::unique_ptr<</div>
- <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a>>></div>
- <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">/*interceptor_creators*/</span>) {</div>
- <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
- <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div>
- <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
- <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// TODO(yashkt): This is a hack that is needed since InsecureCredentials can</span></div>
- <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// not use grpc_channel_credentials internally and should be removed after</span></div>
- <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// insecure builds are removed from gRPC.</span></div>
- <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> IsInsecure()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
- <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> };</div>
- <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
- <div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classgrpc_1_1_call_credentials.html"> 126</a></span> <span class="keyword">class </span><a class="code" href="classgrpc_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="l00127"></a><span class="lineno"> 127</span>  <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classgrpc_1_1_call_credentials.html#af28714fa5ebfe120cd02f26aaaca595a">CallCredentials</a>();</div>
- <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="classgrpc_1_1_call_credentials.html#af2e0b2a8110e08c867b88f29da9df94a">~CallCredentials</a>() <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
- <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1_call_credentials.html#aa9278e08b5c6144247766c78cf4b53d1">ApplyToCall</a>(<a class="code" href="grpc__types_8h.html#a122f8f4f0a585396d993d9b55848f222">grpc_call</a>* call) = 0;</div>
- <div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classgrpc_1_1_call_credentials.html#a7ebb786302df962a74818a0acae8332a"> 133</a></span>  <span class="keyword">virtual</span> grpc::string <a class="code" href="classgrpc_1_1_call_credentials.html#a7ebb786302df962a74818a0acae8332a">DebugString</a>() {</div>
- <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">return</span> <span class="stringliteral">"CallCredentials did not provide a debug string"</span>;</div>
- <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  }</div>
- <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
- <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">protected</span>:</div>
- <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">friend</span> std::shared_ptr<ChannelCredentials> <a class="code" href="classgrpc_1_1_call_credentials.html#ab603d68f9c9387554aa756b27b6b7359">CompositeChannelCredentials</a>(</div>
- <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">const</span> std::shared_ptr<ChannelCredentials>& channel_creds,</div>
- <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">const</span> std::shared_ptr<CallCredentials>& call_creds);</div>
- <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
- <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">friend</span> std::shared_ptr<CallCredentials> <a class="code" href="classgrpc_1_1_call_credentials.html#a064b061a7e2a80e1d6466addd8600779">CompositeCallCredentials</a>(</div>
- <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">const</span> std::shared_ptr<CallCredentials>& creds1,</div>
- <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">const</span> std::shared_ptr<CallCredentials>& creds2);</div>
- <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
- <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">virtual</span> SecureCallCredentials* <a class="code" href="classgrpc_1_1_call_credentials.html#a2452df1e7847eed5e11588a213f41937">AsSecureCredentials</a>() = 0;</div>
- <div class="line"><a name="l00147"></a><span class="lineno"> 147</span> };</div>
- <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
- <div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="structgrpc_1_1_ssl_credentials_options.html"> 150</a></span> <span class="keyword">struct </span><a class="code" href="structgrpc_1_1_ssl_credentials_options.html">SslCredentialsOptions</a> {</div>
- <div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="structgrpc_1_1_ssl_credentials_options.html#a0ce1730020e18d04b6af48c88e069869"> 156</a></span>  grpc::string <a class="code" href="structgrpc_1_1_ssl_credentials_options.html#a0ce1730020e18d04b6af48c88e069869">pem_root_certs</a>;</div>
- <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  </div>
- <div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="structgrpc_1_1_ssl_credentials_options.html#a5b661f8daf02db7283774e0fb9a8979e"> 160</a></span>  grpc::string <a class="code" href="structgrpc_1_1_ssl_credentials_options.html#a5b661f8daf02db7283774e0fb9a8979e">pem_private_key</a>;</div>
- <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
- <div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="structgrpc_1_1_ssl_credentials_options.html#a01015d8ec7dbf49f2ac3cd21f21d383b"> 165</a></span>  grpc::string <a class="code" href="structgrpc_1_1_ssl_credentials_options.html#a01015d8ec7dbf49f2ac3cd21f21d383b">pem_cert_chain</a>;</div>
- <div class="line"><a name="l00166"></a><span class="lineno"> 166</span> };</div>
- <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div>
- <div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment">// Factories for building different types of Credentials The functions may</span></div>
- <div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment">// return empty shared_ptr when credentials cannot be created. If a</span></div>
- <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment">// Credentials pointer is returned, it can still be invalid when used to create</span></div>
- <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <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="l00172"></a><span class="lineno"> 172</span>  </div>
- <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61">GoogleDefaultCredentials</a>();</div>
- <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
- <div class="line"><a name="l00182"></a><span class="lineno"> 182</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc.html#a845b0382cdd2c71ba8ca715643c38b94">SslCredentials</a>(</div>
- <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keyword">const</span> <a class="code" href="structgrpc_1_1_ssl_credentials_options.html">SslCredentialsOptions</a>& options);</div>
- <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
- <div class="line"><a name="l00191"></a><span class="lineno"> 191</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#ad9eda8fa85bd833730a40697278e9fe6">GoogleComputeEngineCredentials</a>();</div>
- <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  </div>
- <div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="namespacegrpc.html#a9b65a618d145857974b7defb40bed7a0"> 193</a></span> constexpr <span class="keywordtype">long</span> <a class="code" href="namespacegrpc.html#a9b65a618d145857974b7defb40bed7a0">kMaxAuthTokenLifetimeSecs</a> = 3600;</div>
- <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
- <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa">ServiceAccountJWTAccessCredentials</a>(</div>
- <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keyword">const</span> grpc::string& json_key,</div>
- <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordtype">long</span> token_lifetime_seconds = <a class="code" href="namespacegrpc.html#a9b65a618d145857974b7defb40bed7a0">kMaxAuthTokenLifetimeSecs</a>);</div>
- <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
- <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c">GoogleRefreshTokenCredentials</a>(</div>
- <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">const</span> grpc::string& json_refresh_token);</div>
- <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  </div>
- <div class="line"><a name="l00223"></a><span class="lineno"> 223</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d">AccessTokenCredentials</a>(</div>
- <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keyword">const</span> grpc::string& access_token);</div>
- <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
- <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0">GoogleIAMCredentials</a>(</div>
- <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keyword">const</span> grpc::string& authorization_token,</div>
- <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keyword">const</span> grpc::string& authority_selector);</div>
- <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  </div>
- <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc.html#a15b2ab0930231bc9142a6e63a9cc8219">CompositeChannelCredentials</a>(</div>
- <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keyword">const</span> std::shared_ptr<ChannelCredentials>& channel_creds,</div>
- <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keyword">const</span> std::shared_ptr<CallCredentials>& call_creds);</div>
- <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
- <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#adc351fe5f823440fd2928a7dc65236f4">CompositeCallCredentials</a>(</div>
- <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keyword">const</span> std::shared_ptr<CallCredentials>& creds1,</div>
- <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keyword">const</span> std::shared_ptr<CallCredentials>& creds2);</div>
- <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  </div>
- <div class="line"><a name="l00248"></a><span class="lineno"> 248</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc.html#a72a5e2e0be4aa041cb587bea339589d7">InsecureChannelCredentials</a>();</div>
- <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  </div>
- <div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classgrpc_1_1_metadata_credentials_plugin.html"> 251</a></span> <span class="keyword">class </span><a class="code" href="classgrpc_1_1_metadata_credentials_plugin.html">MetadataCredentialsPlugin</a> {</div>
- <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="classgrpc_1_1_metadata_credentials_plugin.html#aa0f8c6fc458bf81c3d3384e84ad7059e"> 253</a></span>  <span class="keyword">virtual</span> <a class="code" href="classgrpc_1_1_metadata_credentials_plugin.html#aa0f8c6fc458bf81c3d3384e84ad7059e">~MetadataCredentialsPlugin</a>() {}</div>
- <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
- <div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classgrpc_1_1_metadata_credentials_plugin.html#a6faf44f7c08d0311a38a868fdb8cbaf0"> 257</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1_metadata_credentials_plugin.html#a6faf44f7c08d0311a38a868fdb8cbaf0">IsBlocking</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
- <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  </div>
- <div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classgrpc_1_1_metadata_credentials_plugin.html#ad9a7f5fb8a373bf3680938511cedaf7c"> 260</a></span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classgrpc_1_1_metadata_credentials_plugin.html#ad9a7f5fb8a373bf3680938511cedaf7c">GetType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">""</span>; }</div>
- <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div>
- <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keyword">virtual</span> <a class="code" href="classgrpc_1_1_status.html">grpc::Status</a> <a class="code" href="classgrpc_1_1_metadata_credentials_plugin.html#ae6e9664ee51d6490e64c4755734ab16d">GetMetadata</a>(</div>
- <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <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="l00269"></a><span class="lineno"> 269</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_auth_context.html">grpc::AuthContext</a>& channel_auth_context,</div>
- <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  std::multimap<grpc::string, grpc::string>* metadata) = 0;</div>
- <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  </div>
- <div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="classgrpc_1_1_metadata_credentials_plugin.html#a010de34e9e4240af3529e8913456bec2"> 272</a></span>  <span class="keyword">virtual</span> grpc::string <a class="code" href="classgrpc_1_1_metadata_credentials_plugin.html#a010de34e9e4240af3529e8913456bec2">DebugString</a>() {</div>
- <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordflow">return</span> <span class="stringliteral">"MetadataCredentialsPlugin did not provide a debug string"</span>;</div>
- <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  }</div>
- <div class="line"><a name="l00275"></a><span class="lineno"> 275</span> };</div>
- <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  </div>
- <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07">MetadataCredentialsFromPlugin</a>(</div>
- <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  std::unique_ptr<MetadataCredentialsPlugin> plugin);</div>
- <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  </div>
- <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc.html#a4597f5765148bd5bc141bcb778907a1f">ExternalAccountCredentials</a>(</div>
- <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keyword">const</span> grpc::string& json_string, <span class="keyword">const</span> std::vector<grpc::string>& scopes);</div>
- <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  </div>
- <div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="keyword">namespace </span>experimental {</div>
- <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  </div>
- <div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html"> 293</a></span> <span class="keyword">struct </span><a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a> {</div>
- <div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a1897f713103d4d34922a31969d766b94"> 294</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a1897f713103d4d34922a31969d766b94">token_exchange_service_uri</a>; <span class="comment">// Required.</span></div>
- <div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#aa5744a0ed075281222199c8edd64c773"> 295</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#aa5744a0ed075281222199c8edd64c773">resource</a>; <span class="comment">// Optional.</span></div>
- <div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a810e799b972db82960ee3ee28670ed06"> 296</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a810e799b972db82960ee3ee28670ed06">audience</a>; <span class="comment">// Optional.</span></div>
- <div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a076e5a44347af833494c87d8c6357e67"> 297</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a076e5a44347af833494c87d8c6357e67">scope</a>; <span class="comment">// Optional.</span></div>
- <div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#ae05063309fd005e4b47a9845dd5508c0"> 298</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#ae05063309fd005e4b47a9845dd5508c0">requested_token_type</a>; <span class="comment">// Optional.</span></div>
- <div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a56e8e3f272d31f95066fd1d9dcaea406"> 299</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a56e8e3f272d31f95066fd1d9dcaea406">subject_token_path</a>; <span class="comment">// Required.</span></div>
- <div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#afdb201d09684fd89bf06ca92e0d18804"> 300</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#afdb201d09684fd89bf06ca92e0d18804">subject_token_type</a>; <span class="comment">// Required.</span></div>
- <div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a2f2116ad2d225e7093fc0770967845c2"> 301</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a2f2116ad2d225e7093fc0770967845c2">actor_token_path</a>; <span class="comment">// Optional.</span></div>
- <div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a774659bcf268544f08debe45a4bef4d6"> 302</a></span>  grpc::string <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a774659bcf268544f08debe45a4bef4d6">actor_token_type</a>; <span class="comment">// Optional.</span></div>
- <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> };</div>
- <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  </div>
- <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <a class="code" href="classgrpc_1_1_status.html">grpc::Status</a> <a class="code" href="namespacegrpc_1_1experimental.html#a845a1ccd03791217297f52281777a9b4">StsCredentialsOptionsFromJson</a>(<span class="keyword">const</span> std::string& json_string,</div>
- <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a>* options);</div>
- <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  </div>
- <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <a class="code" href="classgrpc_1_1_status.html">grpc::Status</a> <a class="code" href="namespacegrpc_1_1experimental.html#a2ace3ea6f7ebdb51d0134e3e0b701f49">StsCredentialsOptionsFromEnv</a>(<a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a>* options);</div>
- <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  </div>
- <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc_1_1experimental.html#a161935ac55ae1d7df2936a4095cd2bee">StsCredentials</a>(</div>
- <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keyword">const</span> <a class="code" href="structgrpc_1_1experimental_1_1_sts_credentials_options.html">StsCredentialsOptions</a>& options);</div>
- <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  </div>
- <div class="line"><a name="l00316"></a><span class="lineno"> 316</span> std::shared_ptr<CallCredentials> <a class="code" href="namespacegrpc_1_1experimental.html#a751cfa9b3fcfe366aaf6cfd0529edaea">MetadataCredentialsFromPlugin</a>(</div>
- <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  std::unique_ptr<MetadataCredentialsPlugin> plugin,</div>
- <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6">grpc_security_level</a> min_security_level);</div>
- <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  </div>
- <div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_alts_credentials_options.html"> 321</a></span> <span class="keyword">struct </span><a class="code" href="structgrpc_1_1experimental_1_1_alts_credentials_options.html">AltsCredentialsOptions</a> {</div>
- <div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="structgrpc_1_1experimental_1_1_alts_credentials_options.html#a631955176e3f90143b42a89047353bc4"> 325</a></span>  std::vector<grpc::string> <a class="code" href="structgrpc_1_1experimental_1_1_alts_credentials_options.html#a631955176e3f90143b42a89047353bc4">target_service_accounts</a>;</div>
- <div class="line"><a name="l00326"></a><span class="lineno"> 326</span> };</div>
- <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  </div>
- <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc_1_1experimental.html#ad871e11876b9e9893ee4f57fc283abfb">AltsCredentials</a>(</div>
- <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keyword">const</span> <a class="code" href="structgrpc_1_1experimental_1_1_alts_credentials_options.html">AltsCredentialsOptions</a>& options);</div>
- <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  </div>
- <div class="line"><a name="l00333"></a><span class="lineno"> 333</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc_1_1experimental.html#a9354c3cab0a74d9d405c00781f789507">LocalCredentials</a>(</div>
- <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <a class="code" href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11">grpc_local_connect_type</a> type);</div>
- <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  </div>
- <div class="line"><a name="l00337"></a><span class="lineno"> 337</span> std::shared_ptr<ChannelCredentials> <a class="code" href="namespacegrpc_1_1experimental.html#afb25a4d9b907f609d4ddd1b373a8726b">TlsCredentials</a>(</div>
- <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_channel_credentials_options.html">TlsChannelCredentialsOptions</a>& options);</div>
- <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  </div>
- <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> } <span class="comment">// namespace experimental</span></div>
- <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> } <span class="comment">// namespace grpc</span></div>
- <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  </div>
- <div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="preprocessor">#endif // GRPCPP_SECURITY_CREDENTIALS_H</span></div>
- </div><!-- fragment --></div><!-- contents -->
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_a161935ac55ae1d7df2936a4095cd2bee"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#a161935ac55ae1d7df2936a4095cd2bee">grpc::experimental::StsCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > StsCredentials(const StsCredentialsOptions &options)</div></div>
- <div class="ttc" id="aclassgrpc_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>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_afb25a4d9b907f609d4ddd1b373a8726b"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#afb25a4d9b907f609d4ddd1b373a8726b">grpc::experimental::TlsCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > TlsCredentials(const TlsChannelCredentialsOptions &options)</div><div class="ttdoc">Builds TLS Credentials given TLS options.</div></div>
- <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="anamespacegrpc_1_1experimental_html_a845a1ccd03791217297f52281777a9b4"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#a845a1ccd03791217297f52281777a9b4">grpc::experimental::StsCredentialsOptionsFromJson</a></div><div class="ttdeci">grpc::Status StsCredentialsOptionsFromJson(const std::string &json_string, StsCredentialsOptions *options)</div></div>
- <div class="ttc" id="atls__credentials__options_8h_html"><div class="ttname"><a href="tls__credentials__options_8h.html">tls_credentials_options.h</a></div></div>
- <div class="ttc" id="astructgrpc_1_1_ssl_credentials_options_html_a01015d8ec7dbf49f2ac3cd21f21d383b"><div class="ttname"><a href="structgrpc_1_1_ssl_credentials_options.html#a01015d8ec7dbf49f2ac3cd21f21d383b">grpc::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's certificate chain.</div><div class="ttdef"><b>Definition:</b> credentials.h:165</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html">grpc::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.h:293</div></div>
- <div class="ttc" id="astructgrpc_1_1_ssl_credentials_options_html_a5b661f8daf02db7283774e0fb9a8979e"><div class="ttname"><a href="structgrpc_1_1_ssl_credentials_options.html#a5b661f8daf02db7283774e0fb9a8979e">grpc::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's private key.</div><div class="ttdef"><b>Definition:</b> credentials.h:160</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_channel_credentials_html_ab603d68f9c9387554aa756b27b6b7359"><div class="ttname"><a href="classgrpc_1_1_channel_credentials.html#ab603d68f9c9387554aa756b27b6b7359">grpc::ChannelCredentials::CompositeChannelCredentials</a></div><div class="ttdeci">friend std::shared_ptr< ChannelCredentials > CompositeChannelCredentials(const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds)</div><div class="ttdoc">Combines a channel credentials and a call credentials into a composite channel credentials.</div></div>
- <div class="ttc" id="anamespacegrpc_html_a6beb3ac70ff94bd2ebbd89b8f21d1f61"><div class="ttname"><a href="namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61">grpc::GoogleDefaultCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > GoogleDefaultCredentials()</div><div class="ttdoc">Builds credentials with reasonable defaults.</div></div>
- <div class="ttc" id="astructgrpc_1_1_ssl_credentials_options_html_a0ce1730020e18d04b6af48c88e069869"><div class="ttname"><a href="structgrpc_1_1_ssl_credentials_options.html#a0ce1730020e18d04b6af48c88e069869">grpc::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.h:156</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_credentials_html_ac32961bb5ef29ba46bddaeb80fafd551"><div class="ttname"><a href="classgrpc_1_1_channel_credentials.html#ac32961bb5ef29ba46bddaeb80fafd551">grpc::ChannelCredentials::AsSecureCredentials</a></div><div class="ttdeci">virtual SecureChannelCredentials * AsSecureCredentials()=0</div></div>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_ad871e11876b9e9893ee4f57fc283abfb"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#ad871e11876b9e9893ee4f57fc283abfb">grpc::experimental::AltsCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > AltsCredentials(const AltsCredentialsOptions &options)</div><div class="ttdoc">Builds ALTS Credentials given ALTS specific options.</div></div>
- <div class="ttc" id="aclassgrpc_1_1_metadata_credentials_plugin_html"><div class="ttname"><a href="classgrpc_1_1_metadata_credentials_plugin.html">grpc::MetadataCredentialsPlugin</a></div><div class="ttdoc">User defined metadata credentials.</div><div class="ttdef"><b>Definition:</b> credentials.h:251</div></div>
- <div class="ttc" id="aclassgrpc_1_1_metadata_credentials_plugin_html_ad9a7f5fb8a373bf3680938511cedaf7c"><div class="ttname"><a href="classgrpc_1_1_metadata_credentials_plugin.html#ad9a7f5fb8a373bf3680938511cedaf7c">grpc::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.h:260</div></div>
- <div class="ttc" id="aclassgrpc_1_1_metadata_credentials_plugin_html_a6faf44f7c08d0311a38a868fdb8cbaf0"><div class="ttname"><a href="classgrpc_1_1_metadata_credentials_plugin.html#a6faf44f7c08d0311a38a868fdb8cbaf0">grpc::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.h:257</div></div>
- <div class="ttc" id="aclassgrpc_1_1_metadata_credentials_plugin_html_aa0f8c6fc458bf81c3d3384e84ad7059e"><div class="ttname"><a href="classgrpc_1_1_metadata_credentials_plugin.html#aa0f8c6fc458bf81c3d3384e84ad7059e">grpc::MetadataCredentialsPlugin::~MetadataCredentialsPlugin</a></div><div class="ttdeci">virtual ~MetadataCredentialsPlugin()</div><div class="ttdef"><b>Definition:</b> credentials.h:253</div></div>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_a2ace3ea6f7ebdb51d0134e3e0b701f49"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#a2ace3ea6f7ebdb51d0134e3e0b701f49">grpc::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>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html_ab603d68f9c9387554aa756b27b6b7359"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html#ab603d68f9c9387554aa756b27b6b7359">grpc::CallCredentials::CompositeChannelCredentials</a></div><div class="ttdeci">friend std::shared_ptr< ChannelCredentials > CompositeChannelCredentials(const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds)</div><div class="ttdoc">Combines a channel credentials and a call credentials into a composite channel credentials.</div></div>
- <div class="ttc" id="astructgrpc_1_1_ssl_credentials_options_html"><div class="ttname"><a href="structgrpc_1_1_ssl_credentials_options.html">grpc::SslCredentialsOptions</a></div><div class="ttdoc">Options used to build SslCredentials.</div><div class="ttdef"><b>Definition:</b> credentials.h:150</div></div>
- <div class="ttc" id="anamespacegrpc_html_a845b0382cdd2c71ba8ca715643c38b94"><div class="ttname"><a href="namespacegrpc.html#a845b0382cdd2c71ba8ca715643c38b94">grpc::SslCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > SslCredentials(const SslCredentialsOptions &options)</div><div class="ttdoc">Builds SSL Credentials given SSL specific options.</div></div>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_a9c55f91536c2fbefcd8f8bea1db7125d"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#a9c55f91536c2fbefcd8f8bea1db7125d">grpc::experimental::XdsCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > XdsCredentials(const std::shared_ptr< ChannelCredentials > &fallback_creds)</div><div class="ttdoc">Builds XDS Credentials.</div></div>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_a751cfa9b3fcfe366aaf6cfd0529edaea"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#a751cfa9b3fcfe366aaf6cfd0529edaea">grpc::experimental::MetadataCredentialsFromPlugin</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > MetadataCredentialsFromPlugin(std::unique_ptr< MetadataCredentialsPlugin > plugin, grpc_security_level min_security_level)</div></div>
- <div class="ttc" id="agrpcpp_2support_2status_8h_html"><div class="ttname"><a href="grpcpp_2support_2status_8h.html">status.h</a></div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_a076e5a44347af833494c87d8c6357e67"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a076e5a44347af833494c87d8c6357e67">grpc::experimental::StsCredentialsOptions::scope</a></div><div class="ttdeci">grpc::string scope</div><div class="ttdef"><b>Definition:</b> credentials.h:297</div></div>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html_a064b061a7e2a80e1d6466addd8600779"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html#a064b061a7e2a80e1d6466addd8600779">grpc::CallCredentials::CompositeCallCredentials</a></div><div class="ttdeci">friend std::shared_ptr< CallCredentials > CompositeCallCredentials(const std::shared_ptr< CallCredentials > &creds1, const std::shared_ptr< CallCredentials > &creds2)</div><div class="ttdoc">Combines two call credentials objects into a composite call credentials.</div></div>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html_a7ebb786302df962a74818a0acae8332a"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html#a7ebb786302df962a74818a0acae8332a">grpc::CallCredentials::DebugString</a></div><div class="ttdeci">virtual grpc::string DebugString()</div><div class="ttdef"><b>Definition:</b> credentials.h:133</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_a56e8e3f272d31f95066fd1d9dcaea406"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a56e8e3f272d31f95066fd1d9dcaea406">grpc::experimental::StsCredentialsOptions::subject_token_path</a></div><div class="ttdeci">grpc::string subject_token_path</div><div class="ttdef"><b>Definition:</b> credentials.h:299</div></div>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html_af2e0b2a8110e08c867b88f29da9df94a"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html#af2e0b2a8110e08c867b88f29da9df94a">grpc::CallCredentials::~CallCredentials</a></div><div class="ttdeci">~CallCredentials() override</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_arguments_html"><div class="ttname"><a href="classgrpc_1_1_channel_arguments.html">grpc::ChannelArguments</a></div><div class="ttdoc">Options for channel creation.</div><div class="ttdef"><b>Definition:</b> channel_arguments.h:39</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_a1897f713103d4d34922a31969d766b94"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a1897f713103d4d34922a31969d766b94">grpc::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.h:294</div></div>
- <div class="ttc" id="anamespacegrpc_html_a92a9f959d6102461f66ee973d8e9d3aa"><div class="ttname"><a href="namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa">grpc::ServiceAccountJWTAccessCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > ServiceAccountJWTAccessCredentials(const grpc::string &json_key, long token_lifetime_seconds=kMaxAuthTokenLifetimeSecs)</div><div class="ttdoc">Builds Service Account JWT Access credentials.</div></div>
- <div class="ttc" id="aclassgrpc_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't, why?</div><div class="ttdef"><b>Definition:</b> status.h:31</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_alts_credentials_options_html"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_alts_credentials_options.html">grpc::experimental::AltsCredentialsOptions</a></div><div class="ttdoc">Options used to build AltsCredentials.</div><div class="ttdef"><b>Definition:</b> credentials.h:321</div></div>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html_af28714fa5ebfe120cd02f26aaaca595a"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html#af28714fa5ebfe120cd02f26aaaca595a">grpc::CallCredentials::CallCredentials</a></div><div class="ttdeci">CallCredentials()</div></div>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html">grpc::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.h:126</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_afdb201d09684fd89bf06ca92e0d18804"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#afdb201d09684fd89bf06ca92e0d18804">grpc::experimental::StsCredentialsOptions::subject_token_type</a></div><div class="ttdeci">grpc::string subject_token_type</div><div class="ttdef"><b>Definition:</b> credentials.h:300</div></div>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html_a2452df1e7847eed5e11588a213f41937"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html#a2452df1e7847eed5e11588a213f41937">grpc::CallCredentials::AsSecureCredentials</a></div><div class="ttdeci">virtual SecureCallCredentials * AsSecureCredentials()=0</div></div>
- <div class="ttc" id="agrpcpp_2support_2channel__arguments_8h_html"><div class="ttname"><a href="grpcpp_2support_2channel__arguments_8h.html">channel_arguments.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_channel_credentials_options_html"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_channel_credentials_options.html">grpc::experimental::TlsChannelCredentialsOptions</a></div><div class="ttdef"><b>Definition:</b> tls_credentials_options.h:208</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_credentials_html_a84d575b4c97fd74eecbd2605869989c2"><div class="ttname"><a href="classgrpc_1_1_channel_credentials.html#a84d575b4c97fd74eecbd2605869989c2">grpc::ChannelCredentials::~ChannelCredentials</a></div><div class="ttdeci">~ChannelCredentials() override</div></div>
- <div class="ttc" id="anamespacegrpc_html_a823c6a4b19ffc71fb33e90154ee2ad07"><div class="ttname"><a href="namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07">grpc::MetadataCredentialsFromPlugin</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > MetadataCredentialsFromPlugin(std::unique_ptr< MetadataCredentialsPlugin > plugin)</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_a810e799b972db82960ee3ee28670ed06"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a810e799b972db82960ee3ee28670ed06">grpc::experimental::StsCredentialsOptions::audience</a></div><div class="ttdeci">grpc::string audience</div><div class="ttdef"><b>Definition:</b> credentials.h:296</div></div>
- <div class="ttc" id="agrpc__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>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_aa5744a0ed075281222199c8edd64c773"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#aa5744a0ed075281222199c8edd64c773">grpc::experimental::StsCredentialsOptions::resource</a></div><div class="ttdeci">grpc::string resource</div><div class="ttdef"><b>Definition:</b> credentials.h:295</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:65</div></div>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_a9354c3cab0a74d9d405c00781f789507"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#a9354c3cab0a74d9d405c00781f789507">grpc::experimental::LocalCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > LocalCredentials(grpc_local_connect_type type)</div><div class="ttdoc">Builds Local Credentials.</div></div>
- <div class="ttc" id="agrpcpp_2channel_8h_html"><div class="ttname"><a href="grpcpp_2channel_8h.html">channel.h</a></div></div>
- <div class="ttc" id="anamespacegrpc_html_a4597f5765148bd5bc141bcb778907a1f"><div class="ttname"><a href="namespacegrpc.html#a4597f5765148bd5bc141bcb778907a1f">grpc::ExternalAccountCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > ExternalAccountCredentials(const grpc::string &json_string, const std::vector< grpc::string > &scopes)</div><div class="ttdoc">Builds External Account credentials.</div></div>
- <div class="ttc" id="aimpl_2codegen_2client__interceptor_8h_html"><div class="ttname"><a href="impl_2codegen_2client__interceptor_8h.html">client_interceptor.h</a></div></div>
- <div class="ttc" id="anamespacegrpc_html_ad9eda8fa85bd833730a40697278e9fe6"><div class="ttname"><a href="namespacegrpc.html#ad9eda8fa85bd833730a40697278e9fe6">grpc::GoogleComputeEngineCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > GoogleComputeEngineCredentials()</div><div class="ttdoc">Builds credentials for use when running in GCE.</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_a774659bcf268544f08debe45a4bef4d6"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a774659bcf268544f08debe45a4bef4d6">grpc::experimental::StsCredentialsOptions::actor_token_type</a></div><div class="ttdeci">grpc::string actor_token_type</div><div class="ttdef"><b>Definition:</b> credentials.h:302</div></div>
- <div class="ttc" id="agrpcpp_2impl_2codegen_2grpc__library_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2grpc__library_8h.html">grpc_library.h</a></div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_alts_credentials_options_html_a631955176e3f90143b42a89047353bc4"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_alts_credentials_options.html#a631955176e3f90143b42a89047353bc4">grpc::experimental::AltsCredentialsOptions::target_service_accounts</a></div><div class="ttdeci">std::vector< grpc::string > 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.h:325</div></div>
- <div class="ttc" id="agrpc__security__constants_8h_html_a3c3165c49cd7a359ddb8656aae7e9dd6"><div class="ttname"><a href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6">grpc_security_level</a></div><div class="ttdeci">grpc_security_level</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:114</div></div>
- <div class="ttc" id="anamespacegrpc_html_a72a5e2e0be4aa041cb587bea339589d7"><div class="ttname"><a href="namespacegrpc.html#a72a5e2e0be4aa041cb587bea339589d7">grpc::InsecureChannelCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > InsecureChannelCredentials()</div><div class="ttdoc">Credentials for an unencrypted, unauthenticated channel.</div></div>
- <div class="ttc" id="anamespacegrpc_html_a96901c997b91bc6513b08491e0dca37c"><div class="ttname"><a href="namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c">grpc::GoogleRefreshTokenCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > GoogleRefreshTokenCredentials(const grpc::string &json_refresh_token)</div><div class="ttdoc">Builds refresh token credentials.</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_ae05063309fd005e4b47a9845dd5508c0"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#ae05063309fd005e4b47a9845dd5508c0">grpc::experimental::StsCredentialsOptions::requested_token_type</a></div><div class="ttdeci">grpc::string requested_token_type</div><div class="ttdef"><b>Definition:</b> credentials.h:298</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_credentials_html_a961606a781db020e7dbd100c00b8071b"><div class="ttname"><a href="classgrpc_1_1_channel_credentials.html#a961606a781db020e7dbd100c00b8071b">grpc::ChannelCredentials::ChannelCredentials</a></div><div class="ttdeci">ChannelCredentials()</div></div>
- <div class="ttc" id="aclassgrpc_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:46</div></div>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_af089b10a266c70f15aeb7e2156295a30"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#af089b10a266c70f15aeb7e2156295a30">grpc::experimental::CreateCustomChannelWithInterceptors</a></div><div class="ttdeci">std::shared_ptr< Channel > CreateCustomChannelWithInterceptors(const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)</div><div class="ttdoc">Create a new custom Channel pointing to target with interceptors being invoked per call.</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_credentials_html"><div class="ttname"><a href="classgrpc_1_1_channel_credentials.html">grpc::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.h:69</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_credentials_html_a7ee0416f7e1fc38d75a911f67397cfb0"><div class="ttname"><a href="classgrpc_1_1_channel_credentials.html#a7ee0416f7e1fc38d75a911f67397cfb0">grpc::ChannelCredentials::CreateCustomChannel</a></div><div class="ttdeci">friend std::shared_ptr< grpc::Channel > CreateCustomChannel(const grpc::string &target, const std::shared_ptr< grpc::ChannelCredentials > &creds, const grpc::ChannelArguments &args)</div></div>
- <div class="ttc" id="anamespacegrpc_html_a4a5c8a2c77389604feaa5d38cdd7b8d3"><div class="ttname"><a href="namespacegrpc.html#a4a5c8a2c77389604feaa5d38cdd7b8d3">grpc::CreateCustomChannel</a></div><div class="ttdeci">std::shared_ptr< Channel > CreateCustomChannel(const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args)</div><div class="ttdoc">Create a new custom Channel pointing to target.</div></div>
- <div class="ttc" id="aclassgrpc_1_1_call_credentials_html_aa9278e08b5c6144247766c78cf4b53d1"><div class="ttname"><a href="classgrpc_1_1_call_credentials.html#aa9278e08b5c6144247766c78cf4b53d1">grpc::CallCredentials::ApplyToCall</a></div><div class="ttdeci">virtual bool ApplyToCall(grpc_call *call)=0</div><div class="ttdoc">Apply this instance's credentials to call.</div></div>
- <div class="ttc" id="agrpc__security__constants_8h_html"><div class="ttname"><a href="grpc__security__constants_8h.html">grpc_security_constants.h</a></div></div>
- <div class="ttc" id="anamespacegrpc_html_a15b2ab0930231bc9142a6e63a9cc8219"><div class="ttname"><a href="namespacegrpc.html#a15b2ab0930231bc9142a6e63a9cc8219">grpc::CompositeChannelCredentials</a></div><div class="ttdeci">std::shared_ptr< ChannelCredentials > CompositeChannelCredentials(const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds)</div><div class="ttdoc">Combines a channel credentials and a call credentials into a composite channel credentials.</div></div>
- <div class="ttc" id="anamespacegrpc_html_adc351fe5f823440fd2928a7dc65236f4"><div class="ttname"><a href="namespacegrpc.html#adc351fe5f823440fd2928a7dc65236f4">grpc::CompositeCallCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > CompositeCallCredentials(const std::shared_ptr< CallCredentials > &creds1, const std::shared_ptr< CallCredentials > &creds2)</div><div class="ttdoc">Combines two call credentials objects into a composite call credentials.</div></div>
- <div class="ttc" id="anamespacegrpc_html_a9b65a618d145857974b7defb40bed7a0"><div class="ttname"><a href="namespacegrpc.html#a9b65a618d145857974b7defb40bed7a0">grpc::kMaxAuthTokenLifetimeSecs</a></div><div class="ttdeci">constexpr long kMaxAuthTokenLifetimeSecs</div><div class="ttdef"><b>Definition:</b> credentials.h:193</div></div>
- <div class="ttc" id="anamespacegrpc_html_ad3a80da696ffdaea943f0f858d7a360d"><div class="ttname"><a href="namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d">grpc::AccessTokenCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > AccessTokenCredentials(const grpc::string &access_token)</div><div class="ttdoc">Builds access token credentials.</div></div>
- <div class="ttc" id="astructgrpc_1_1experimental_1_1_sts_credentials_options_html_a2f2116ad2d225e7093fc0770967845c2"><div class="ttname"><a href="structgrpc_1_1experimental_1_1_sts_credentials_options.html#a2f2116ad2d225e7093fc0770967845c2">grpc::experimental::StsCredentialsOptions::actor_token_path</a></div><div class="ttdeci">grpc::string actor_token_path</div><div class="ttdef"><b>Definition:</b> credentials.h:301</div></div>
- <div class="ttc" id="agrpcpp_2security_2auth__context_8h_html"><div class="ttname"><a href="grpcpp_2security_2auth__context_8h.html">auth_context.h</a></div></div>
- <div class="ttc" id="agrpc__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:140</div></div>
- <div class="ttc" id="aclassgrpc_1_1_metadata_credentials_plugin_html_a010de34e9e4240af3529e8913456bec2"><div class="ttname"><a href="classgrpc_1_1_metadata_credentials_plugin.html#a010de34e9e4240af3529e8913456bec2">grpc::MetadataCredentialsPlugin::DebugString</a></div><div class="ttdeci">virtual grpc::string DebugString()</div><div class="ttdef"><b>Definition:</b> credentials.h:272</div></div>
- <div class="ttc" id="aclassgrpc_1_1_metadata_credentials_plugin_html_ae6e9664ee51d6490e64c4755734ab16d"><div class="ttname"><a href="classgrpc_1_1_metadata_credentials_plugin.html#ae6e9664ee51d6490e64c4755734ab16d">grpc::MetadataCredentialsPlugin::GetMetadata</a></div><div class="ttdeci">virtual grpc::Status GetMetadata(grpc::string_ref service_url, grpc::string_ref method_name, const grpc::AuthContext &channel_auth_context, std::multimap< grpc::string, grpc::string > *metadata)=0</div><div class="ttdoc">Gets the auth metatada produced by this plugin.</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="anamespacegrpc_html_a9fc1fc101b41e680d47028166e76f9d0"><div class="ttname"><a href="namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0">grpc::GoogleIAMCredentials</a></div><div class="ttdeci">std::shared_ptr< CallCredentials > GoogleIAMCredentials(const grpc::string &authorization_token, const grpc::string &authority_selector)</div><div class="ttdoc">Builds IAM credentials.</div></div>
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Wed Mar 3 2021 19:17:19 for GRPC C++ by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.17
- </small></address>
- </body>
- </html>
|