public class AccessTokenRegistration extends Object
| Constructor and Description |
|---|
AccessTokenRegistration() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getApprovedScope()
Gets the scope explicitly approved by the end user
|
String |
getAudience() |
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 |
setAudience(String audience) |
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
|
public void setClient(Client client)
Client instanceclient - the clientpublic 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()
public String getAudience()
public void setAudience(String audience)
Apache CXF