| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ServerAuthorizationCodeGrant (Apache CXF JavaDoc 3.4.5 API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ServerAuthorizationCodeGrant (Apache CXF JavaDoc 3.4.5 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ServerAuthorizationCodeGrant.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">Apache CXF API</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/PlainCodeVerifier.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" target="_top">Frames</a></li> |
| <li><a href="ServerAuthorizationCodeGrant.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.cxf.rs.security.oauth2.grants.code</div> |
| <h2 title="Class ServerAuthorizationCodeGrant" class="title">Class ServerAuthorizationCodeGrant</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeGrant</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.cxf.rs.security.oauth2.grants.code.ServerAuthorizationCodeGrant</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/AccessTokenGrant.html" title="interface in org.apache.cxf.rs.security.oauth2.common">AccessTokenGrant</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>@Entity |
| public class <span class="typeNameLabel">ServerAuthorizationCodeGrant</span> |
| extends <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeGrant</a></pre> |
| <div class="block">The Authorization Code Grant representation visible to the server</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../../../serialized-form.html#org.apache.cxf.rs.security.oauth2.grants.code.ServerAuthorizationCodeGrant">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#ServerAuthorizationCodeGrant--">ServerAuthorizationCodeGrant</a></span>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#ServerAuthorizationCodeGrant-org.apache.cxf.rs.security.oauth2.common.Client-long-">ServerAuthorizationCodeGrant</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| long lifetime)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#ServerAuthorizationCodeGrant-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-long-long-">ServerAuthorizationCodeGrant</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> code, |
| long expiresIn, |
| long issuedAt)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <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> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getApprovedScopes--">getApprovedScopes</a></span>()</code> |
| <div class="block">Gets the scopes explicitly approved by the end user</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getAudience--">getAudience</a></span>()</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getClient--">getClient</a></span>()</code> |
| <div class="block">Returns the reference to <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common"><code>Client</code></a></div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getClientCodeChallenge--">getClientCodeChallenge</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getClientCodeChallengeMethod--">getClientCodeChallengeMethod</a></span>()</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getExpiresIn--">getExpiresIn</a></span>()</code> |
| <div class="block">Returns the number of seconds this grant can be valid after it was issued</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getExtraProperties--">getExtraProperties</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getIssuedAt--">getIssuedAt</a></span>()</code> |
| <div class="block">Returns the time (in seconds) this grant was issued at</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getNonce--">getNonce</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getRequestedScopes--">getRequestedScopes</a></span>()</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getResponseType--">getResponseType</a></span>()</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#getSubject--">getSubject</a></span>()</code> |
| <div class="block">Gets the user subject representing the end user</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#isPreauthorizedTokenAvailable--">isPreauthorizedTokenAvailable</a></span>()</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setApprovedScopes-java.util.List-">setApprovedScopes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> scopes)</code> |
| <div class="block">Sets the scopes explicitly approved by the end user.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setAudience-java.lang.String-">setAudience</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> audience)</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setClient-org.apache.cxf.rs.security.oauth2.common.Client-">setClient</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> c)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setClientCodeChallenge-java.lang.String-">setClientCodeChallenge</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientCodeChallenge)</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setClientCodeChallengeMethod-java.lang.String-">setClientCodeChallengeMethod</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientCodeChallengeMethod)</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setExpiresIn-long-">setExpiresIn</a></span>(long expiresIn)</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setExtraProperties-java.util.Map-">setExtraProperties</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> extraProperties)</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setIssuedAt-long-">setIssuedAt</a></span>(long issuedAt)</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setNonce-java.lang.String-">setNonce</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> nonce)</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setPreauthorizedTokenAvailable-boolean-">setPreauthorizedTokenAvailable</a></span>(boolean preauthorizedTokenAvailable)</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setRequestedScopes-java.util.List-">setRequestedScopes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> requestedScopes)</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setResponseType-java.lang.String-">setResponseType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> responseType)</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html#setSubject-org.apache.cxf.rs.security.oauth2.common.UserSubject-">setSubject</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> subject)</code> |
| <div class="block">Sets the user subject representing the end user</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeGrant"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.code.<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeGrant</a></h3> |
| <code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#getCode--">getCode</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#getCodeVerifier--">getCodeVerifier</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#getRedirectUri--">getRedirectUri</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#getType--">getType</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#setCode-java.lang.String-">setCode</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#setCodeVerifier-java.lang.String-">setCodeVerifier</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#setRedirectUri-java.lang.String-">setRedirectUri</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant.html#toMap--">toMap</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ServerAuthorizationCodeGrant--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ServerAuthorizationCodeGrant</h4> |
| <pre>public ServerAuthorizationCodeGrant()</pre> |
| </li> |
| </ul> |
| <a name="ServerAuthorizationCodeGrant-org.apache.cxf.rs.security.oauth2.common.Client-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ServerAuthorizationCodeGrant</h4> |
| <pre>public ServerAuthorizationCodeGrant(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| long lifetime)</pre> |
| </li> |
| </ul> |
| <a name="ServerAuthorizationCodeGrant-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-long-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ServerAuthorizationCodeGrant</h4> |
| <pre>public ServerAuthorizationCodeGrant(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> code, |
| long expiresIn, |
| long issuedAt)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getIssuedAt--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIssuedAt</h4> |
| <pre>public long getIssuedAt()</pre> |
| <div class="block">Returns the time (in seconds) this grant was issued at</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the seconds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setIssuedAt-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIssuedAt</h4> |
| <pre>public void setIssuedAt(long issuedAt)</pre> |
| </li> |
| </ul> |
| <a name="getExpiresIn--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExpiresIn</h4> |
| <pre>public long getExpiresIn()</pre> |
| <div class="block">Returns the number of seconds this grant can be valid after it was issued</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the seconds this grant will be valid for</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setExpiresIn-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setExpiresIn</h4> |
| <pre>public void setExpiresIn(long expiresIn)</pre> |
| </li> |
| </ul> |
| <a name="getClient--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClient</h4> |
| <pre>public <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> getClient()</pre> |
| <div class="block">Returns the reference to <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common"><code>Client</code></a></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the client</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setClient-org.apache.cxf.rs.security.oauth2.common.Client-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setClient</h4> |
| <pre>public void setClient(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> c)</pre> |
| </li> |
| </ul> |
| <a name="getApprovedScopes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getApprovedScopes</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getApprovedScopes()</pre> |
| <div class="block">Gets the scopes explicitly approved by the end user</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the approved scopes</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setApprovedScopes-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setApprovedScopes</h4> |
| <pre>public void setApprovedScopes(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> scopes)</pre> |
| <div class="block">Sets the scopes explicitly approved by the end user. |
| If this list is empty then the end user had no way to down-scope.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>scopes</code> - the approved scopes</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSubject--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSubject</h4> |
| <pre>public <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> getSubject()</pre> |
| <div class="block">Gets the user subject representing the end user</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the subject</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSubject-org.apache.cxf.rs.security.oauth2.common.UserSubject-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSubject</h4> |
| <pre>public void setSubject(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> subject)</pre> |
| <div class="block">Sets the user subject representing the end user</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>subject</code> - the subject</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAudience--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAudience</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getAudience()</pre> |
| </li> |
| </ul> |
| <a name="setAudience-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAudience</h4> |
| <pre>public void setAudience(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> audience)</pre> |
| </li> |
| </ul> |
| <a name="getClientCodeChallenge--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientCodeChallenge</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getClientCodeChallenge()</pre> |
| </li> |
| </ul> |
| <a name="setClientCodeChallenge-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setClientCodeChallenge</h4> |
| <pre>public void setClientCodeChallenge(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientCodeChallenge)</pre> |
| </li> |
| </ul> |
| <a name="getRequestedScopes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequestedScopes</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getRequestedScopes()</pre> |
| </li> |
| </ul> |
| <a name="setRequestedScopes-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRequestedScopes</h4> |
| <pre>public void setRequestedScopes(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> requestedScopes)</pre> |
| </li> |
| </ul> |
| <a name="getNonce--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNonce</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getNonce()</pre> |
| </li> |
| </ul> |
| <a name="setNonce-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNonce</h4> |
| <pre>public void setNonce(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> nonce)</pre> |
| </li> |
| </ul> |
| <a name="isPreauthorizedTokenAvailable--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPreauthorizedTokenAvailable</h4> |
| <pre>public boolean isPreauthorizedTokenAvailable()</pre> |
| </li> |
| </ul> |
| <a name="setPreauthorizedTokenAvailable-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPreauthorizedTokenAvailable</h4> |
| <pre>public void setPreauthorizedTokenAvailable(boolean preauthorizedTokenAvailable)</pre> |
| </li> |
| </ul> |
| <a name="getExtraProperties--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExtraProperties</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getExtraProperties()</pre> |
| </li> |
| </ul> |
| <a name="setExtraProperties-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setExtraProperties</h4> |
| <pre>public void setExtraProperties(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> extraProperties)</pre> |
| </li> |
| </ul> |
| <a name="getResponseType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getResponseType</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getResponseType()</pre> |
| </li> |
| </ul> |
| <a name="setResponseType-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setResponseType</h4> |
| <pre>public void setResponseType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> responseType)</pre> |
| </li> |
| </ul> |
| <a name="getClientCodeChallengeMethod--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientCodeChallengeMethod</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getClientCodeChallengeMethod()</pre> |
| </li> |
| </ul> |
| <a name="setClientCodeChallengeMethod-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setClientCodeChallengeMethod</h4> |
| <pre>public void setClientCodeChallengeMethod(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientCodeChallengeMethod)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ServerAuthorizationCodeGrant.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">Apache CXF API</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/PlainCodeVerifier.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" target="_top">Frames</a></li> |
| <li><a href="ServerAuthorizationCodeGrant.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Apache CXF</small></p> |
| </body> |
| </html> |