037240e5051017a7784ded34e36bdd3dc9111cd1
[website] /
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="de">
4 <head>
5 <!-- Generated by javadoc (1.8.0_66) on Tue Nov 10 15:24:43 CET 2015 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>SignedRequestAwareAuthorizationCodeAccessTokenProvider (Juplo - Facebook Utils 2.5.0 API)</title>
8 <meta name="date" content="2015-11-10">
9 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10 <script type="text/javascript" src="../../../../script.js"></script>
11 </head>
12 <body>
13 <script type="text/javascript"><!--
14     try {
15         if (location.href.indexOf('is-external=true') == -1) {
16             parent.document.title="SignedRequestAwareAuthorizationCodeAccessTokenProvider (Juplo - Facebook Utils 2.5.0 API)";
17         }
18     }
19     catch(err) {
20     }
21 //-->
22 var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
23 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24 var altColor = "altColor";
25 var rowColor = "rowColor";
26 var tableTab = "tableTab";
27 var activeTableTab = "activeTableTab";
28 </script>
29 <noscript>
30 <div>JavaScript is disabled on your browser.</div>
31 </noscript>
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <div class="topNav"><a name="navbar.top">
34 <!--   -->
35 </a>
36 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37 <a name="navbar.top.firstrow">
38 <!--   -->
39 </a>
40 <ul class="navList" title="Navigation">
41 <li><a href="../../../../overview-summary.html">Overview</a></li>
42 <li><a href="package-summary.html">Package</a></li>
43 <li class="navBarCell1Rev">Class</li>
44 <li><a href="class-use/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html">Use</a></li>
45 <li><a href="package-tree.html">Tree</a></li>
46 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
47 <li><a href="../../../../index-all.html">Index</a></li>
48 <li><a href="../../../../help-doc.html">Help</a></li>
49 </ul>
50 </div>
51 <div class="subNav">
52 <ul class="navList">
53 <li>Prev&nbsp;Class</li>
54 <li>Next&nbsp;Class</li>
55 </ul>
56 <ul class="navList">
57 <li><a href="../../../../index.html?de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html" target="_top">Frames</a></li>
58 <li><a href="SignedRequestAwareAuthorizationCodeAccessTokenProvider.html" target="_top">No&nbsp;Frames</a></li>
59 </ul>
60 <ul class="navList" id="allclasses_navbar_top">
61 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62 </ul>
63 <div>
64 <script type="text/javascript"><!--
65   allClassesLink = document.getElementById("allclasses_navbar_top");
66   if(window==top) {
67     allClassesLink.style.display = "block";
68   }
69   else {
70     allClassesLink.style.display = "none";
71   }
72   //-->
73 </script>
74 </div>
75 <div>
76 <ul class="subNavList">
77 <li>Summary:&nbsp;</li>
78 <li>Nested&nbsp;|&nbsp;</li>
79 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
80 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81 <li><a href="#method.summary">Method</a></li>
82 </ul>
83 <ul class="subNavList">
84 <li>Detail:&nbsp;</li>
85 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
86 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87 <li><a href="#method.detail">Method</a></li>
88 </ul>
89 </div>
90 <a name="skip.navbar.top">
91 <!--   -->
92 </a></div>
93 <!-- ========= END OF TOP NAVBAR ========= -->
94 <!-- ======== START OF CLASS DATA ======== -->
95 <div class="header">
96 <div class="subTitle">de.juplo.facebook.token</div>
97 <h2 title="Class SignedRequestAwareAuthorizationCodeAccessTokenProvider" class="title">Class SignedRequestAwareAuthorizationCodeAccessTokenProvider</h2>
98 </div>
99 <div class="contentContainer">
100 <ul class="inheritance">
101 <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
102 <li>
103 <ul class="inheritance">
104 <li>org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport</li>
105 <li>
106 <ul class="inheritance">
107 <li>org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider</li>
108 <li>
109 <ul class="inheritance">
110 <li>de.juplo.facebook.token.SignedRequestAwareAuthorizationCodeAccessTokenProvider</li>
111 </ul>
112 </li>
113 </ul>
114 </li>
115 </ul>
116 </li>
117 </ul>
118 <div class="description">
119 <ul class="blockList">
120 <li class="blockList">
121 <dl>
122 <dt>All Implemented Interfaces:</dt>
123 <dd>org.springframework.security.oauth2.client.token.AccessTokenProvider</dd>
124 </dl>
125 <hr>
126 <br>
127 <pre>public class <span class="typeNameLabel">SignedRequestAwareAuthorizationCodeAccessTokenProvider</span>
128 extends org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider</pre>
129 <div class="block">This class extends <code>AuthorizationCodeAccessTokenProvider</code> and adds
130  support for signed requests, which are issued by Facebook, if the Canvas-
131  or Tab-Page of a Facebook-App is accessed for the first time.</div>
132 <dl>
133 <dt><span class="simpleTagLabel">Author:</span></dt>
134 <dd>Kai Moritz</dd>
135 </dl>
136 </li>
137 </ul>
138 </div>
139 <div class="summary">
140 <ul class="blockList">
141 <li class="blockList">
142 <!-- =========== FIELD SUMMARY =========== -->
143 <ul class="blockList">
144 <li class="blockList"><a name="field.summary">
145 <!--   -->
146 </a>
147 <h3>Field Summary</h3>
148 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
149 <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
150 <tr>
151 <th class="colFirst" scope="col">Modifier and Type</th>
152 <th class="colLast" scope="col">Field and Description</th>
153 </tr>
154 <tr class="altColor">
155 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
156 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html#PARAM_SIGNED_REQUEST">PARAM_SIGNED_REQUEST</a></span></code>&nbsp;</td>
157 </tr>
158 </table>
159 <ul class="blockList">
160 <li class="blockList"><a name="fields.inherited.from.class.org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport">
161 <!--   -->
162 </a>
163 <h3>Fields inherited from class&nbsp;org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport</h3>
164 <code>logger</code></li>
165 </ul>
166 </li>
167 </ul>
168 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
169 <ul class="blockList">
170 <li class="blockList"><a name="constructor.summary">
171 <!--   -->
172 </a>
173 <h3>Constructor Summary</h3>
174 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
175 <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
176 <tr>
177 <th class="colOne" scope="col">Constructor and Description</th>
178 </tr>
179 <tr class="altColor">
180 <td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html#SignedRequestAwareAuthorizationCodeAccessTokenProvider--">SignedRequestAwareAuthorizationCodeAccessTokenProvider</a></span>()</code>&nbsp;</td>
181 </tr>
182 </table>
183 </li>
184 </ul>
185 <!-- ========== METHOD SUMMARY =========== -->
186 <ul class="blockList">
187 <li class="blockList"><a name="method.summary">
188 <!--   -->
189 </a>
190 <h3>Method Summary</h3>
191 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
192 <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
193 <tr>
194 <th class="colFirst" scope="col">Modifier and Type</th>
195 <th class="colLast" scope="col">Method and Description</th>
196 </tr>
197 <tr id="i0" class="altColor">
198 <td class="colFirst"><code>org.codehaus.jackson.map.ObjectMapper</code></td>
199 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html#getObjectMapper--">getObjectMapper</a></span>()</code>&nbsp;</td>
200 </tr>
201 <tr id="i1" class="rowColor">
202 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
203 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html#getSecret--">getSecret</a></span>()</code>&nbsp;</td>
204 </tr>
205 <tr id="i2" class="altColor">
206 <td class="colFirst"><code>org.springframework.security.oauth2.common.OAuth2AccessToken</code></td>
207 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html#obtainAccessToken-org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails-org.springframework.security.oauth2.client.token.AccessTokenRequest-">obtainAccessToken</a></span>(org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails&nbsp;details,
208                  org.springframework.security.oauth2.client.token.AccessTokenRequest&nbsp;parameters)</code>&nbsp;</td>
209 </tr>
210 <tr id="i3" class="rowColor">
211 <td class="colFirst"><code>void</code></td>
212 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html#setObjectMapper-org.codehaus.jackson.map.ObjectMapper-">setObjectMapper</a></span>(org.codehaus.jackson.map.ObjectMapper&nbsp;objectMapper)</code>&nbsp;</td>
213 </tr>
214 <tr id="i4" class="altColor">
215 <td class="colFirst"><code>void</code></td>
216 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html#setSecret-java.lang.String-">setSecret</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;secret)</code>&nbsp;</td>
217 </tr>
218 </table>
219 <ul class="blockList">
220 <li class="blockList"><a name="methods.inherited.from.class.org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider">
221 <!--   -->
222 </a>
223 <h3>Methods inherited from class&nbsp;org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider</h3>
224 <code>getAuthorizationResponseExtractor, getUserApprovalSignal, obtainAuthorizationCode, refreshAccessToken, setAuthorizationRequestEnhancer, setScopePrefix, setStateKeyGenerator, setStateMandatory, supportsRefresh, supportsResource</code></li>
225 </ul>
226 <ul class="blockList">
227 <li class="blockList"><a name="methods.inherited.from.class.org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport">
228 <!--   -->
229 </a>
230 <h3>Methods inherited from class&nbsp;org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport</h3>
231 <code>getAccessTokenUri, getHttpMethod, getRequestCallback, getResponseErrorHandler, getResponseExtractor, getRestTemplate, retrieveToken, setAuthenticationHandler, setInterceptors, setMessageConverters, setRequestFactory, setTokenRequestEnhancer</code></li>
232 </ul>
233 <ul class="blockList">
234 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
235 <!--   -->
236 </a>
237 <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
238 <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
239 </ul>
240 </li>
241 </ul>
242 </li>
243 </ul>
244 </div>
245 <div class="details">
246 <ul class="blockList">
247 <li class="blockList">
248 <!-- ============ FIELD DETAIL =========== -->
249 <ul class="blockList">
250 <li class="blockList"><a name="field.detail">
251 <!--   -->
252 </a>
253 <h3>Field Detail</h3>
254 <a name="PARAM_SIGNED_REQUEST">
255 <!--   -->
256 </a>
257 <ul class="blockListLast">
258 <li class="blockList">
259 <h4>PARAM_SIGNED_REQUEST</h4>
260 <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PARAM_SIGNED_REQUEST</pre>
261 <dl>
262 <dt><span class="seeLabel">See Also:</span></dt>
263 <dd><a href="../../../../constant-values.html#de.juplo.facebook.token.SignedRequestAwareAuthorizationCodeAccessTokenProvider.PARAM_SIGNED_REQUEST">Constant Field Values</a></dd>
264 </dl>
265 </li>
266 </ul>
267 </li>
268 </ul>
269 <!-- ========= CONSTRUCTOR DETAIL ======== -->
270 <ul class="blockList">
271 <li class="blockList"><a name="constructor.detail">
272 <!--   -->
273 </a>
274 <h3>Constructor Detail</h3>
275 <a name="SignedRequestAwareAuthorizationCodeAccessTokenProvider--">
276 <!--   -->
277 </a>
278 <ul class="blockListLast">
279 <li class="blockList">
280 <h4>SignedRequestAwareAuthorizationCodeAccessTokenProvider</h4>
281 <pre>public&nbsp;SignedRequestAwareAuthorizationCodeAccessTokenProvider()</pre>
282 </li>
283 </ul>
284 </li>
285 </ul>
286 <!-- ============ METHOD DETAIL ========== -->
287 <ul class="blockList">
288 <li class="blockList"><a name="method.detail">
289 <!--   -->
290 </a>
291 <h3>Method Detail</h3>
292 <a name="obtainAccessToken-org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails-org.springframework.security.oauth2.client.token.AccessTokenRequest-">
293 <!--   -->
294 </a>
295 <ul class="blockList">
296 <li class="blockList">
297 <h4>obtainAccessToken</h4>
298 <pre>public&nbsp;org.springframework.security.oauth2.common.OAuth2AccessToken&nbsp;obtainAccessToken(org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails&nbsp;details,
299                                                                                       org.springframework.security.oauth2.client.token.AccessTokenRequest&nbsp;parameters)</pre>
300 <dl>
301 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
302 <dd><code>obtainAccessToken</code>&nbsp;in interface&nbsp;<code>org.springframework.security.oauth2.client.token.AccessTokenProvider</code></dd>
303 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
304 <dd><code>obtainAccessToken</code>&nbsp;in class&nbsp;<code>org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider</code></dd>
305 </dl>
306 </li>
307 </ul>
308 <a name="getSecret--">
309 <!--   -->
310 </a>
311 <ul class="blockList">
312 <li class="blockList">
313 <h4>getSecret</h4>
314 <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSecret()</pre>
315 </li>
316 </ul>
317 <a name="setSecret-java.lang.String-">
318 <!--   -->
319 </a>
320 <ul class="blockList">
321 <li class="blockList">
322 <h4>setSecret</h4>
323 <pre>public&nbsp;void&nbsp;setSecret(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;secret)</pre>
324 </li>
325 </ul>
326 <a name="getObjectMapper--">
327 <!--   -->
328 </a>
329 <ul class="blockList">
330 <li class="blockList">
331 <h4>getObjectMapper</h4>
332 <pre>public&nbsp;org.codehaus.jackson.map.ObjectMapper&nbsp;getObjectMapper()</pre>
333 </li>
334 </ul>
335 <a name="setObjectMapper-org.codehaus.jackson.map.ObjectMapper-">
336 <!--   -->
337 </a>
338 <ul class="blockListLast">
339 <li class="blockList">
340 <h4>setObjectMapper</h4>
341 <pre>public&nbsp;void&nbsp;setObjectMapper(org.codehaus.jackson.map.ObjectMapper&nbsp;objectMapper)</pre>
342 </li>
343 </ul>
344 </li>
345 </ul>
346 </li>
347 </ul>
348 </div>
349 </div>
350 <!-- ========= END OF CLASS DATA ========= -->
351 <!-- ======= START OF BOTTOM NAVBAR ====== -->
352 <div class="bottomNav"><a name="navbar.bottom">
353 <!--   -->
354 </a>
355 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
356 <a name="navbar.bottom.firstrow">
357 <!--   -->
358 </a>
359 <ul class="navList" title="Navigation">
360 <li><a href="../../../../overview-summary.html">Overview</a></li>
361 <li><a href="package-summary.html">Package</a></li>
362 <li class="navBarCell1Rev">Class</li>
363 <li><a href="class-use/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html">Use</a></li>
364 <li><a href="package-tree.html">Tree</a></li>
365 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
366 <li><a href="../../../../index-all.html">Index</a></li>
367 <li><a href="../../../../help-doc.html">Help</a></li>
368 </ul>
369 </div>
370 <div class="subNav">
371 <ul class="navList">
372 <li>Prev&nbsp;Class</li>
373 <li>Next&nbsp;Class</li>
374 </ul>
375 <ul class="navList">
376 <li><a href="../../../../index.html?de/juplo/facebook/token/SignedRequestAwareAuthorizationCodeAccessTokenProvider.html" target="_top">Frames</a></li>
377 <li><a href="SignedRequestAwareAuthorizationCodeAccessTokenProvider.html" target="_top">No&nbsp;Frames</a></li>
378 </ul>
379 <ul class="navList" id="allclasses_navbar_bottom">
380 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
381 </ul>
382 <div>
383 <script type="text/javascript"><!--
384   allClassesLink = document.getElementById("allclasses_navbar_bottom");
385   if(window==top) {
386     allClassesLink.style.display = "block";
387   }
388   else {
389     allClassesLink.style.display = "none";
390   }
391   //-->
392 </script>
393 </div>
394 <div>
395 <ul class="subNavList">
396 <li>Summary:&nbsp;</li>
397 <li>Nested&nbsp;|&nbsp;</li>
398 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
399 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
400 <li><a href="#method.summary">Method</a></li>
401 </ul>
402 <ul class="subNavList">
403 <li>Detail:&nbsp;</li>
404 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
405 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
406 <li><a href="#method.detail">Method</a></li>
407 </ul>
408 </div>
409 <a name="skip.navbar.bottom">
410 <!--   -->
411 </a></div>
412 <!-- ======== END OF BOTTOM NAVBAR ======= -->
413 <p class="legalCopy"><small>Copyright &#169; 2015. All rights reserved.</small></p>
414 </body>
415 </html>