mirror of https://github.com/grpc/grpc.git
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.
154 lines
15 KiB
154 lines
15 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++/security/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++ |
|
 <span id="projectnumber">0.11.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 Page</span></a></li> |
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
|
<li><a href="annotated.html"><span>Data 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 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </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><li class="navelem"><a class="el" href="dir_7d74774c8f3e0db94d40932630f431b6.html">security</a></li> </ul> |
|
</div> |
|
</div><!-- top --> |
|
<div class="header"> |
|
<div class="summary"> |
|
<a href="#nested-classes">Data Structures</a> | |
|
<a href="#namespaces">Namespaces</a> | |
|
<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 <memory></code><br/> |
|
<code>#include <<a class="el" href="grpc__library_8h_source.html">grpc++/impl/grpc_library.h</a>></code><br/> |
|
<code>#include <<a class="el" href="config_8h_source.html">grpc++/support/config.h</a>></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  </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1_credentials.html">grpc::Credentials</a></td></tr> |
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A credentials object encapsulates all the state needed by a client to authenticate with a server and make various assertions, e.g., about the client’s identity, role, or whether it is authorized to make a particular call. <a href="classgrpc_1_1_credentials.html#details">More...</a><br/></td></tr> |
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structgrpc_1_1_ssl_credentials_options.html">grpc::SslCredentialsOptions</a></td></tr> |
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Options used to build SslCredentials. <a href="structgrpc_1_1_ssl_credentials_options.html#details">More...</a><br/></td></tr> |
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html">grpc</a></td></tr> |
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </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< Credentials > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a63d3b2c5cb11f48742da0d245b0771d3">grpc::GoogleDefaultCredentials</a> ()</td></tr> |
|
<tr class="memdesc:a63d3b2c5cb11f48742da0d245b0771d3"><td class="mdescLeft"> </td><td class="mdescRight">Builds credentials with reasonable defaults. <a href="#a63d3b2c5cb11f48742da0d245b0771d3">More...</a><br/></td></tr> |
|
<tr class="separator:a63d3b2c5cb11f48742da0d245b0771d3"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:adeb675883da0c9ad8ae4dd38214c3f16"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#adeb675883da0c9ad8ae4dd38214c3f16">grpc::SslCredentials</a> (const SslCredentialsOptions &options)</td></tr> |
|
<tr class="memdesc:adeb675883da0c9ad8ae4dd38214c3f16"><td class="mdescLeft"> </td><td class="mdescRight">Builds SSL <a class="el" href="classgrpc_1_1_credentials.html" title="A credentials object encapsulates all the state needed by a client to authenticate with a server and ...">Credentials</a> given SSL specific options. <a href="#adeb675883da0c9ad8ae4dd38214c3f16">More...</a><br/></td></tr> |
|
<tr class="separator:adeb675883da0c9ad8ae4dd38214c3f16"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:a230306fe3dcc52d8fa88ebf69fa132ba"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a230306fe3dcc52d8fa88ebf69fa132ba">grpc::GoogleComputeEngineCredentials</a> ()</td></tr> |
|
<tr class="memdesc:a230306fe3dcc52d8fa88ebf69fa132ba"><td class="mdescLeft"> </td><td class="mdescRight">Builds credentials for use when running in GCE. <a href="#a230306fe3dcc52d8fa88ebf69fa132ba">More...</a><br/></td></tr> |
|
<tr class="separator:a230306fe3dcc52d8fa88ebf69fa132ba"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:a5802d0b8e29f4937281c57bbe07f3517"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </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> &json_key, long token_lifetime_seconds)</td></tr> |
|
<tr class="memdesc:a5802d0b8e29f4937281c57bbe07f3517"><td class="mdescLeft"> </td><td class="mdescRight">Builds Service Account JWT Access credentials. <a href="#a5802d0b8e29f4937281c57bbe07f3517">More...</a><br/></td></tr> |
|
<tr class="separator:a5802d0b8e29f4937281c57bbe07f3517"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:acf0926233ac5a92bcaef134c5efd70f3"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#acf0926233ac5a92bcaef134c5efd70f3">grpc::GoogleRefreshTokenCredentials</a> (const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &json_refresh_token)</td></tr> |
|
<tr class="memdesc:acf0926233ac5a92bcaef134c5efd70f3"><td class="mdescLeft"> </td><td class="mdescRight">Builds refresh token credentials. <a href="#acf0926233ac5a92bcaef134c5efd70f3">More...</a><br/></td></tr> |
|
<tr class="separator:acf0926233ac5a92bcaef134c5efd70f3"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:a2a08189bab0ce54afb01754bd92ebd7f"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </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> &access_token)</td></tr> |
|
<tr class="memdesc:a2a08189bab0ce54afb01754bd92ebd7f"><td class="mdescLeft"> </td><td class="mdescRight">Builds access token credentials. <a href="#a2a08189bab0ce54afb01754bd92ebd7f">More...</a><br/></td></tr> |
|
<tr class="separator:a2a08189bab0ce54afb01754bd92ebd7f"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:a6e12f0f1458f02f3a4c6b0267809a308"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a6e12f0f1458f02f3a4c6b0267809a308">grpc::GoogleIAMCredentials</a> (const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &authorization_token, const <a class="el" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a> &authority_selector)</td></tr> |
|
<tr class="memdesc:a6e12f0f1458f02f3a4c6b0267809a308"><td class="mdescLeft"> </td><td class="mdescRight">Builds IAM credentials. <a href="#a6e12f0f1458f02f3a4c6b0267809a308">More...</a><br/></td></tr> |
|
<tr class="separator:a6e12f0f1458f02f3a4c6b0267809a308"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:a0ffe059f3158d41d0e268fd375a0815c"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#a0ffe059f3158d41d0e268fd375a0815c">grpc::CompositeCredentials</a> (const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)</td></tr> |
|
<tr class="memdesc:a0ffe059f3158d41d0e268fd375a0815c"><td class="mdescLeft"> </td><td class="mdescRight">Combines two credentials objects into a composite credentials. <a href="#a0ffe059f3158d41d0e268fd375a0815c">More...</a><br/></td></tr> |
|
<tr class="separator:a0ffe059f3158d41d0e268fd375a0815c"><td class="memSeparator" colspan="2"> </td></tr> |
|
<tr class="memitem:ab7d08c50ff1dd9a368a9ff8191f855c3"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< Credentials > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrpc.html#ab7d08c50ff1dd9a368a9ff8191f855c3">grpc::InsecureCredentials</a> ()</td></tr> |
|
<tr class="memdesc:ab7d08c50ff1dd9a368a9ff8191f855c3"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classgrpc_1_1_credentials.html" title="A credentials object encapsulates all the state needed by a client to authenticate with a server and ...">Credentials</a> for an unencrypted, unauthenticated channel. <a href="#ab7d08c50ff1dd9a368a9ff8191f855c3">More...</a><br/></td></tr> |
|
<tr class="separator:ab7d08c50ff1dd9a368a9ff8191f855c3"><td class="memSeparator" colspan="2"> </td></tr> |
|
</table> |
|
</div><!-- contents --> |
|
<!-- start footer part --> |
|
<hr class="footer"/><address class="footer"><small> |
|
Generated on Thu Sep 3 2015 09:44:12 for GRPC C++ by  <a href="http://www.doxygen.org/index.html"> |
|
<img class="footer" src="doxygen.png" alt="doxygen"/> |
|
</a> 1.8.6 |
|
</small></address> |
|
</body> |
|
</html>
|
|
|