Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 1024

wt-doc-3.2.3-1.fc18.noarch.rpm

<!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"/>
<title>Wt: Wt::Auth::GoogleService Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<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="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><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="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="namespaceWt_1_1Auth.html">Auth</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html">GoogleService</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::Auth::GoogleService Class Reference<div class="ingroups"><a class="el" href="group__auth.html">Authentication module (Wt::Auth)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::Auth::GoogleService" --><!-- doxytag: inherits="Wt::Auth::OAuthService" -->
<p>OAuth service for Google as third-party authenticator.  
 <a href="classWt_1_1Auth_1_1GoogleService.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Wt::Auth::GoogleService:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1Auth_1_1GoogleService__inherit__graph.png" border="0" usemap="#Wt_1_1Auth_1_1GoogleService_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1Auth_1_1GoogleService_inherit__map" id="Wt_1_1Auth_1_1GoogleService_inherit__map">
<area shape="rect" href="classWt_1_1Auth_1_1OAuthService.html" title="An OAuth authorization (and authentication) service provider." alt="" coords="7,5,167,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1Auth_1_1GoogleService-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86bcf010d33b29810f74664fdc926a1c"></a><!-- doxytag: member="Wt::Auth::GoogleService::GoogleService" ref="a86bcf010d33b29810f74664fdc926a1c" args="(const AuthService &amp;baseAuth)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a86bcf010d33b29810f74664fdc926a1c">GoogleService</a> (const <a class="el" href="classWt_1_1Auth_1_1AuthService.html">AuthService</a> &amp;baseAuth)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a4b659bbb0df32ecdaf5f7581e1b85d5f">name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the provider name.  <a href="#a4b659bbb0df32ecdaf5f7581e1b85d5f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#adf4ad05a84202f906172f1a9f53efd1e">description</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the provider description.  <a href="#adf4ad05a84202f906172f1a9f53efd1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a9ff42ee1223e718581fd4ccb2ded8206">popupWidth</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the desired width for the popup window.  <a href="#a9ff42ee1223e718581fd4ccb2ded8206"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a5df93cee3d80ac3cf55155c15fd1b67e">popupHeight</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the desired height for the popup window.  <a href="#a5df93cee3d80ac3cf55155c15fd1b67e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a304a2911844768a488f3ca5ad1020a22">authenticationScope</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the scope needed for authentication.  <a href="#a304a2911844768a488f3ca5ad1020a22"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#aa205cef2ee79d6ac54a5f4070a404b6e">redirectEndpoint</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the redirection endpoint URL.  <a href="#aa205cef2ee79d6ac54a5f4070a404b6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#ad7d342f077036a335d7d077665842868">redirectEndpointPath</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the deployment path of the redirection endpoint.  <a href="#ad7d342f077036a335d7d077665842868"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a522d6a5b51caa227218329602a428e4f">authorizationEndpoint</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the authorization endpoint URL.  <a href="#a522d6a5b51caa227218329602a428e4f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a7f9846c52dbc1716b7f3c708a0068447">tokenEndpoint</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the token endpoint URL.  <a href="#a7f9846c52dbc1716b7f3c708a0068447"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#ab06a4b518d49c4f671e9c1697efcc5d4">clientId</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the client ID.  <a href="#ab06a4b518d49c4f671e9c1697efcc5d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#aef8cd4f74a5a993fdaad63d8999c752b">clientSecret</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the client secret.  <a href="#aef8cd4f74a5a993fdaad63d8999c752b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Auth_1_1OAuthProcess.html">OAuthProcess</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#af11fc6b9db5ae2327c9e5ebb58a124eb">createProcess</a> (const std::string &amp;scope) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new authorizaiton process.  <a href="#af11fc6b9db5ae2327c9e5ebb58a124eb"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#ab9b1a1d09831fc92a8fdbef39de4899e">configured</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether a GoogleAuth service is properly configured.  <a href="#ab9b1a1d09831fc92a8fdbef39de4899e"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>OAuth service for Google as third-party authenticator. </p>
<p>The configuration of the service is done using properties, whose values need to match the values configured at Google.</p>
<ul>
<li><code>google-oauth2-redirect-endpoint</code>: the URL of the local redirect endpoint, to which the google OAuth service redirects the user after authentication. See also <a class="el" href="classWt_1_1Auth_1_1GoogleService.html#aa205cef2ee79d6ac54a5f4070a404b6e" title="Returns the redirection endpoint URL.">redirectEndpoint()</a></li>
<li><code>google-oauth2-redirect-endpoint-path</code>: optionally, the deployment path that corresponds to the redirect endpoint. See also <a class="el" href="classWt_1_1Auth_1_1GoogleService.html#ad7d342f077036a335d7d077665842868" title="Returns the deployment path of the redirection endpoint.">redirectEndpointPath()</a></li>
<li><code>google-oauth2-client-id</code>: The client ID</li>
<li><code>google-oauth2-client-secret</code>: The client secret.</li>
</ul>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> &lt;properties&gt;
   &lt;<span class="keyword">property</span> name=<span class="stringliteral">&quot;google-oauth2-redirect-endpoint&quot;</span>&gt;
     http:<span class="comment">//localhost:8080/oauth2callback</span>
   &lt;/<span class="keyword">property</span>&gt;
   &lt;<span class="keyword">property</span> name=<span class="stringliteral">&quot;google-oauth2-client-id&quot;</span>&gt;
     123456789012.apps.googleusercontent.com
   &lt;/<span class="keyword">property</span>&gt;
   &lt;<span class="keyword">property</span> name=<span class="stringliteral">&quot;google-oauth2-client-secret&quot;</span>&gt;
     abcdefghijk-12312312312
   &lt;/<span class="keyword">property</span>&gt;
 &lt;/properties&gt;
</pre></div><p>Like all <b>service classes</b>, this class holds only configuration state. Thus, once configured, it can be safely shared between multiple sessions since its state (the configuration) is read-only. A "const GoogleService" object is thus thread-safe.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a href="http://code.google.com/apis/accounts/docs/OAuth2.html">http://code.google.com/apis/accounts/docs/OAuth2.html</a> </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a304a2911844768a488f3ca5ad1020a22"></a><!-- doxytag: member="Wt::Auth::GoogleService::authenticationScope" ref="a304a2911844768a488f3ca5ad1020a22" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::authenticationScope </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the scope needed for authentication. </p>
<p>This returns the scope that is needed (and sufficient) for obtaining identity information, and thus to authenticate the user.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1OAuthProcess.html#aa8102afbc7fa52027e15f4a952288923" title="Obtains an authenticated identity.">OAuthProcess::getIdentity()</a>, <a class="el" href="classWt_1_1Auth_1_1OAuthProcess.html#a3f6e1c6cf8015d5515d61875cc81fd6c" title="Starts an authorization and authentication process.">OAuthProcess::startAuthenticate()</a> </dd></dl>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a040351f2a2b956c059ea9974e6829d13">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="a522d6a5b51caa227218329602a428e4f"></a><!-- doxytag: member="Wt::Auth::GoogleService::authorizationEndpoint" ref="a522d6a5b51caa227218329602a428e4f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::authorizationEndpoint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the authorization endpoint URL. </p>
<p>This is a remote URL which hosts the OAuth authorization user interface. This URL is loaded in the popup window at the start of an authorization process. </p>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#acab141d7eb5a987baf8ea9281bf00a9a">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="ab06a4b518d49c4f671e9c1697efcc5d4"></a><!-- doxytag: member="Wt::Auth::GoogleService::clientId" ref="ab06a4b518d49c4f671e9c1697efcc5d4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::clientId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the client ID. </p>
<p>This is the identification for this web application with the OAuth authorization server. </p>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a3f5d653cb613109848321463663ba636">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="aef8cd4f74a5a993fdaad63d8999c752b"></a><!-- doxytag: member="Wt::Auth::GoogleService::clientSecret" ref="aef8cd4f74a5a993fdaad63d8999c752b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::clientSecret </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the client secret. </p>
<p>This is the secret credentials for this web application with the OAuth authorization server. </p>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a10f60c79a0892266e75fef4b0965c1f8">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="ab9b1a1d09831fc92a8fdbef39de4899e"></a><!-- doxytag: member="Wt::Auth::GoogleService::configured" ref="ab9b1a1d09831fc92a8fdbef39de4899e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::Auth::GoogleService::configured </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks whether a GoogleAuth service is properly configured. </p>
<p>This returns <code>true</code> if a value is found for the three configuration properties. </p>

</div>
</div>
<a class="anchor" id="af11fc6b9db5ae2327c9e5ebb58a124eb"></a><!-- doxytag: member="Wt::Auth::GoogleService::createProcess" ref="af11fc6b9db5ae2327c9e5ebb58a124eb" args="(const std::string &amp;scope) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Auth_1_1OAuthProcess.html">OAuthProcess</a> * Wt::Auth::GoogleService::createProcess </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>scope</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new authorizaiton process. </p>
<p>This creates a new authorization process for the indicated scope. Valid names for the scope are service provider dependent.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a304a2911844768a488f3ca5ad1020a22" title="Returns the scope needed for authentication.">authenticationScope()</a> </dd></dl>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a24c71776988c7562c507714acb295e06">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="adf4ad05a84202f906172f1a9f53efd1e"></a><!-- doxytag: member="Wt::Auth::GoogleService::description" ref="adf4ad05a84202f906172f1a9f53efd1e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::Auth::GoogleService::description </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the provider description. </p>
<p>This returns a description useful for e.g. tool tips on a login icon.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a4b659bbb0df32ecdaf5f7581e1b85d5f" title="Returns the provider name.">name()</a> </dd></dl>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a17346a2921fe706bc83018fb2443f236">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="a4b659bbb0df32ecdaf5f7581e1b85d5f"></a><!-- doxytag: member="Wt::Auth::GoogleService::name" ref="a4b659bbb0df32ecdaf5f7581e1b85d5f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the provider name. </p>
<p>This is a short identifier.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#adf4ad05a84202f906172f1a9f53efd1e" title="Returns the provider description.">description()</a> </dd></dl>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a5718ddabc7de591b5f056daf1f17701e">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="a5df93cee3d80ac3cf55155c15fd1b67e"></a><!-- doxytag: member="Wt::Auth::GoogleService::popupHeight" ref="a5df93cee3d80ac3cf55155c15fd1b67e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::Auth::GoogleService::popupHeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the desired height for the popup window. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a9ff42ee1223e718581fd4ccb2ded8206" title="Returns the desired width for the popup window.">popupWidth()</a> </dd></dl>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a3f5f2ca918803753061105c0a5836a1e">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="a9ff42ee1223e718581fd4ccb2ded8206"></a><!-- doxytag: member="Wt::Auth::GoogleService::popupWidth" ref="a9ff42ee1223e718581fd4ccb2ded8206" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::Auth::GoogleService::popupWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the desired width for the popup window. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1GoogleService.html#a5df93cee3d80ac3cf55155c15fd1b67e" title="Returns the desired height for the popup window.">popupHeight()</a> </dd></dl>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#ae7caef7e593e4e078a50e5f872f14d20">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="aa205cef2ee79d6ac54a5f4070a404b6e"></a><!-- doxytag: member="Wt::Auth::GoogleService::redirectEndpoint" ref="aa205cef2ee79d6ac54a5f4070a404b6e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::redirectEndpoint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the redirection endpoint URL. </p>
<p>This is the local URL to which the browser is redirect from the service provider, after the authorization process. You need to configure this URL with the third party authentication service.</p>
<p>A static resource will be deployed at this URL.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WServer.html#a7b78b5e35d2dc3086faa54f82124cf38" title="Binds a resource to a fixed path.">WServer::addResource()</a> </dd></dl>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#add76eee14370693fa109c2768ca70725">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="ad7d342f077036a335d7d077665842868"></a><!-- doxytag: member="Wt::Auth::GoogleService::redirectEndpointPath" ref="ad7d342f077036a335d7d077665842868" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::redirectEndpointPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the deployment path of the redirection endpoint. </p>
<p>This returns the path at which the static resource is deployed that corresponds to the <a class="el" href="classWt_1_1Auth_1_1GoogleService.html#aa205cef2ee79d6ac54a5f4070a404b6e" title="Returns the redirection endpoint URL.">redirectEndpoint()</a>.</p>
<p>The default implementation will derive this path from the <a class="el" href="classWt_1_1Auth_1_1GoogleService.html#aa205cef2ee79d6ac54a5f4070a404b6e" title="Returns the redirection endpoint URL.">redirectEndpoint()</a> URL. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#a121b3458ab4b571f3a84a83eaed75893">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
<a class="anchor" id="a7f9846c52dbc1716b7f3c708a0068447"></a><!-- doxytag: member="Wt::Auth::GoogleService::tokenEndpoint" ref="a7f9846c52dbc1716b7f3c708a0068447" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Auth::GoogleService::tokenEndpoint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the token endpoint URL. </p>
<p>This is a remote URL which hosts a web-service that generates access tokens. </p>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1OAuthService.html#ad649c21d85628e58eeba7171f1bb9990">Wt::Auth::OAuthService</a>.</p>

</div>
</div>
</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>Classes</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></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>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>