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
|
List<String> |
getAudiences() |
Client |
getClient()
Returns the
Client instance |
String |
getClientCodeVerifier() |
Map<String,String> |
getExtraProperties() |
String |
getGrantCode()
Get the grant code
|
String |
getGrantType()
Gets the type of grant which is exchanged for this token
|
String |
getNonce() |
List<String> |
getRequestedScope()
Gets the requested scope
|
String |
getResponseType()
Get the response type
|
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 |
setAudiences(List<String> audiences) |
void |
setClient(Client client)
Sets the
Client instance |
void |
setClientCodeVerifier(String clientCodeVerifier) |
void |
setExtraProperties(Map<String,String> extraProperties) |
void |
setGrantCode(String grantCode)
Set the grant code which was used to request the token
|
void |
setGrantType(String grantType)
Sets the type of grant which is exchanged for this token
|
void |
setNonce(String nonce) |
void |
setRequestedScope(List<String> requestedScope)
Sets the requested scope
|
void |
setResponseType(String responseType)
Set the response type
|
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 getClientCodeVerifier()
public void setClientCodeVerifier(String clientCodeVerifier)
public String getNonce()
public void setNonce(String nonce)
public void setResponseType(String responseType)
responseType - the response typepublic String getResponseType()
public void setGrantCode(String grantCode)
grantCode - the grant codepublic String getGrantCode()
Apache CXF