|
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.common.AccessTokenRegistration
public class AccessTokenRegistration
Captures the information associated with the access token request.
Constructor Summary | |
---|---|
AccessTokenRegistration()
|
Method Summary | |
---|---|
List<String> |
getApprovedScope()
Gets the scope explicitly approved by the end user |
Client |
getClient()
Returns the Client instance |
String |
getGrantType()
Gets the type of grant which is exchanged for this token |
List<String> |
getRequestedScope()
Gets the requested scope |
UserSubject |
getSubject()
Gets the {@link UserSubject) instance capturing the information about the end user |
void |
setApprovedScope(List<String> approvedScope)
Sets the scope explicitly approved by the end user |
void |
setClient(Client client)
Sets the Client instance |
void |
setGrantType(String grantType)
Sets the type of grant which is exchanged for this token |
void |
setRequestedScope(List<String> requestedScope)
Sets the requested scope |
void |
setSubject(UserSubject subject)
Sets the {@link UserSubject) instance capturing the information about the end user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessTokenRegistration()
Method Detail |
---|
public void setClient(Client client)
Client
instance
client
- the clientpublic Client getClient()
Client
instance
public void setRequestedScope(List<String> requestedScope)
requestedScope
- the scopepublic List<String> getRequestedScope()
public void setApprovedScope(List<String> approvedScope)
approvedScope
- the approved scopepublic List<String> getApprovedScope()
public void setSubject(UserSubject subject)
subject
- the end user subjectpublic UserSubject getSubject()
public void setGrantType(String grantType)
grantType
- the grant typepublic String getGrantType()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |