The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

145 lines
12 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/>
<title>GRPC C++: include/grpc++/credentials.h File Reference</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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
<div id="projectname">GRPC C++
&#160;<span id="projectnumber">0.10.0.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></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_f1b2ab2a88927c1e950e43c1cf4b634b.html">grpc++</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">credentials.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;memory&gt;</code><br/>
<code>#include &lt;<a class="el" href="config_8h_source.html">grpc++/config.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="grpc__library_8h_source.html">grpc++/impl/grpc_library.h</a>&gt;</code><br/>
</div>
<p><a href="credentials_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1_credentials.html">grpc::Credentials</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgrpc_1_1_ssl_credentials_options.html">grpc::SslCredentialsOptions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegrpc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html">grpc</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a63d3b2c5cb11f48742da0d245b0771d3"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a63d3b2c5cb11f48742da0d245b0771d3">grpc::GoogleDefaultCredentials</a> ()</td></tr>
<tr class="separator:a63d3b2c5cb11f48742da0d245b0771d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeb675883da0c9ad8ae4dd38214c3f16"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#adeb675883da0c9ad8ae4dd38214c3f16">grpc::SslCredentials</a> (const SslCredentialsOptions &amp;options)</td></tr>
<tr class="separator:adeb675883da0c9ad8ae4dd38214c3f16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a485ca55548022e260806c32d74095c8c"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a485ca55548022e260806c32d74095c8c">grpc::ComputeEngineCredentials</a> ()</td></tr>
<tr class="separator:a485ca55548022e260806c32d74095c8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2624b99e948624865a346311a613848"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#af2624b99e948624865a346311a613848">grpc::ServiceAccountCredentials</a> (const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &amp;json_key, const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &amp;scope, long token_lifetime_seconds)</td></tr>
<tr class="separator:af2624b99e948624865a346311a613848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5802d0b8e29f4937281c57bbe07f3517"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a5802d0b8e29f4937281c57bbe07f3517">grpc::ServiceAccountJWTAccessCredentials</a> (const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &amp;json_key, long token_lifetime_seconds)</td></tr>
<tr class="separator:a5802d0b8e29f4937281c57bbe07f3517"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af69bf38a7cfbd24e127deb86d50dc41d"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#af69bf38a7cfbd24e127deb86d50dc41d">grpc::RefreshTokenCredentials</a> (const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &amp;json_refresh_token)</td></tr>
<tr class="separator:af69bf38a7cfbd24e127deb86d50dc41d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a08189bab0ce54afb01754bd92ebd7f"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a2a08189bab0ce54afb01754bd92ebd7f">grpc::AccessTokenCredentials</a> (const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &amp;access_token)</td></tr>
<tr class="separator:a2a08189bab0ce54afb01754bd92ebd7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78c4ecc2e69303f203fd67fd272b6c96"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a78c4ecc2e69303f203fd67fd272b6c96">grpc::IAMCredentials</a> (const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &amp;authorization_token, const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &amp;authority_selector)</td></tr>
<tr class="separator:a78c4ecc2e69303f203fd67fd272b6c96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ffe059f3158d41d0e268fd375a0815c"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a0ffe059f3158d41d0e268fd375a0815c">grpc::CompositeCredentials</a> (const std::shared_ptr&lt; Credentials &gt; &amp;creds1, const std::shared_ptr&lt; Credentials &gt; &amp;creds2)</td></tr>
<tr class="separator:a0ffe059f3158d41d0e268fd375a0815c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d08c50ff1dd9a368a9ff8191f855c3"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Credentials &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#ab7d08c50ff1dd9a368a9ff8191f855c3">grpc::InsecureCredentials</a> ()</td></tr>
<tr class="separator:ab7d08c50ff1dd9a368a9ff8191f855c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Aug 5 2015 08:17:06 for GRPC C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>