|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeGrant
public class AuthorizationCodeGrant
Base Authorization Code Grant representation, captures the code and the redirect URI this code has been returned to, visible to the client
Constructor Summary | |
---|---|
AuthorizationCodeGrant(String code)
|
|
AuthorizationCodeGrant(String code,
URI uri)
|
Method Summary | |
---|---|
String |
getCode()
Gets the authorization code |
String |
getRedirectUri()
Gets the redirect URI |
String |
getType()
Returns the token grant type, example, "authorization_code" |
void |
setRedirectUri(String redirectUri)
Sets the redirect URI, if set then the client is expected to include the same URI during the access token request |
javax.ws.rs.core.MultivaluedMap<String,String> |
toMap()
Returns the map containing public grant parameters; can be used by clients requesting the access tokens. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthorizationCodeGrant(String code)
public AuthorizationCodeGrant(String code, URI uri)
Method Detail |
---|
public void setRedirectUri(String redirectUri)
redirectUri
- redirect URIpublic String getRedirectUri()
public String getCode()
public String getType()
getType
in interface AccessTokenGrant
public javax.ws.rs.core.MultivaluedMap<String,String> toMap()
toMap
in interface AccessTokenGrant
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |