1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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>
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="SignedRequestAwareAuthorizationCodeAccessTokenProvider (Juplo - Facebook Utils 2.5.0 API)";
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";
30 <div>JavaScript is disabled on your browser.</div>
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <div class="topNav"><a name="navbar.top">
36 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37 <a name="navbar.top.firstrow">
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>
53 <li>Prev Class</li>
54 <li>Next Class</li>
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 Frames</a></li>
60 <ul class="navList" id="allclasses_navbar_top">
61 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
64 <script type="text/javascript"><!--
65 allClassesLink = document.getElementById("allclasses_navbar_top");
67 allClassesLink.style.display = "block";
70 allClassesLink.style.display = "none";
76 <ul class="subNavList">
77 <li>Summary: </li>
78 <li>Nested | </li>
79 <li><a href="#field.summary">Field</a> | </li>
80 <li><a href="#constructor.summary">Constr</a> | </li>
81 <li><a href="#method.summary">Method</a></li>
83 <ul class="subNavList">
84 <li>Detail: </li>
85 <li><a href="#field.detail">Field</a> | </li>
86 <li><a href="#constructor.detail">Constr</a> | </li>
87 <li><a href="#method.detail">Method</a></li>
90 <a name="skip.navbar.top">
93 <!-- ========= END OF TOP NAVBAR ========= -->
94 <!-- ======== START OF CLASS DATA ======== -->
96 <div class="subTitle">de.juplo.facebook.token</div>
97 <h2 title="Class SignedRequestAwareAuthorizationCodeAccessTokenProvider" class="title">Class SignedRequestAwareAuthorizationCodeAccessTokenProvider</h2>
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>
103 <ul class="inheritance">
104 <li>org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport</li>
106 <ul class="inheritance">
107 <li>org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider</li>
109 <ul class="inheritance">
110 <li>de.juplo.facebook.token.SignedRequestAwareAuthorizationCodeAccessTokenProvider</li>
118 <div class="description">
119 <ul class="blockList">
120 <li class="blockList">
122 <dt>All Implemented Interfaces:</dt>
123 <dd>org.springframework.security.oauth2.client.token.AccessTokenProvider</dd>
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>
133 <dt><span class="simpleTagLabel">Author:</span></dt>
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">
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"> </span></caption>
151 <th class="colFirst" scope="col">Modifier and Type</th>
152 <th class="colLast" scope="col">Field and Description</th>
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> </td>
159 <ul class="blockList">
160 <li class="blockList"><a name="fields.inherited.from.class.org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport">
163 <h3>Fields inherited from class org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport</h3>
164 <code>logger</code></li>
168 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
169 <ul class="blockList">
170 <li class="blockList"><a name="constructor.summary">
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"> </span></caption>
177 <th class="colOne" scope="col">Constructor and Description</th>
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> </td>
185 <!-- ========== METHOD SUMMARY =========== -->
186 <ul class="blockList">
187 <li class="blockList"><a name="method.summary">
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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
194 <th class="colFirst" scope="col">Modifier and Type</th>
195 <th class="colLast" scope="col">Method and Description</th>
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> </td>
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> </td>
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 details,
208 org.springframework.security.oauth2.client.token.AccessTokenRequest parameters)</code> </td>
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 objectMapper)</code> </td>
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> secret)</code> </td>
219 <ul class="blockList">
220 <li class="blockList"><a name="methods.inherited.from.class.org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider">
223 <h3>Methods inherited from class org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider</h3>
224 <code>getAuthorizationResponseExtractor, getUserApprovalSignal, obtainAuthorizationCode, refreshAccessToken, setAuthorizationRequestEnhancer, setScopePrefix, setStateKeyGenerator, setStateMandatory, supportsRefresh, supportsResource</code></li>
226 <ul class="blockList">
227 <li class="blockList"><a name="methods.inherited.from.class.org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport">
230 <h3>Methods inherited from class org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport</h3>
231 <code>getAccessTokenUri, getHttpMethod, getRequestCallback, getResponseErrorHandler, getResponseExtractor, getRestTemplate, retrieveToken, setAuthenticationHandler, setInterceptors, setMessageConverters, setRequestFactory, setTokenRequestEnhancer</code></li>
233 <ul class="blockList">
234 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
237 <h3>Methods inherited from class 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>
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">
253 <h3>Field Detail</h3>
254 <a name="PARAM_SIGNED_REQUEST">
257 <ul class="blockListLast">
258 <li class="blockList">
259 <h4>PARAM_SIGNED_REQUEST</h4>
260 <pre>public static final <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>
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>
269 <!-- ========= CONSTRUCTOR DETAIL ======== -->
270 <ul class="blockList">
271 <li class="blockList"><a name="constructor.detail">
274 <h3>Constructor Detail</h3>
275 <a name="SignedRequestAwareAuthorizationCodeAccessTokenProvider--">
278 <ul class="blockListLast">
279 <li class="blockList">
280 <h4>SignedRequestAwareAuthorizationCodeAccessTokenProvider</h4>
281 <pre>public SignedRequestAwareAuthorizationCodeAccessTokenProvider()</pre>
286 <!-- ============ METHOD DETAIL ========== -->
287 <ul class="blockList">
288 <li class="blockList"><a name="method.detail">
291 <h3>Method Detail</h3>
292 <a name="obtainAccessToken-org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails-org.springframework.security.oauth2.client.token.AccessTokenRequest-">
295 <ul class="blockList">
296 <li class="blockList">
297 <h4>obtainAccessToken</h4>
298 <pre>public org.springframework.security.oauth2.common.OAuth2AccessToken obtainAccessToken(org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails details,
299 org.springframework.security.oauth2.client.token.AccessTokenRequest parameters)</pre>
301 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
302 <dd><code>obtainAccessToken</code> in interface <code>org.springframework.security.oauth2.client.token.AccessTokenProvider</code></dd>
303 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
304 <dd><code>obtainAccessToken</code> in class <code>org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeAccessTokenProvider</code></dd>
308 <a name="getSecret--">
311 <ul class="blockList">
312 <li class="blockList">
314 <pre>public <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> getSecret()</pre>
317 <a name="setSecret-java.lang.String-">
320 <ul class="blockList">
321 <li class="blockList">
323 <pre>public void 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> secret)</pre>
326 <a name="getObjectMapper--">
329 <ul class="blockList">
330 <li class="blockList">
331 <h4>getObjectMapper</h4>
332 <pre>public org.codehaus.jackson.map.ObjectMapper getObjectMapper()</pre>
335 <a name="setObjectMapper-org.codehaus.jackson.map.ObjectMapper-">
338 <ul class="blockListLast">
339 <li class="blockList">
340 <h4>setObjectMapper</h4>
341 <pre>public void setObjectMapper(org.codehaus.jackson.map.ObjectMapper objectMapper)</pre>
350 <!-- ========= END OF CLASS DATA ========= -->
351 <!-- ======= START OF BOTTOM NAVBAR ====== -->
352 <div class="bottomNav"><a name="navbar.bottom">
355 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
356 <a name="navbar.bottom.firstrow">
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>
372 <li>Prev Class</li>
373 <li>Next Class</li>
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 Frames</a></li>
379 <ul class="navList" id="allclasses_navbar_bottom">
380 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
383 <script type="text/javascript"><!--
384 allClassesLink = document.getElementById("allclasses_navbar_bottom");
386 allClassesLink.style.display = "block";
389 allClassesLink.style.display = "none";
395 <ul class="subNavList">
396 <li>Summary: </li>
397 <li>Nested | </li>
398 <li><a href="#field.summary">Field</a> | </li>
399 <li><a href="#constructor.summary">Constr</a> | </li>
400 <li><a href="#method.summary">Method</a></li>
402 <ul class="subNavList">
403 <li>Detail: </li>
404 <li><a href="#field.detail">Field</a> | </li>
405 <li><a href="#constructor.detail">Constr</a> | </li>
406 <li><a href="#method.detail">Method</a></li>
409 <a name="skip.navbar.bottom">
412 <!-- ======== END OF BOTTOM NAVBAR ======= -->
413 <p class="legalCopy"><small>Copyright © 2015. All rights reserved.</small></p>