public class OAuthContext extends Object
| Constructor and Description |
|---|
OAuthContext(UserSubject subject,
List<OAuthPermission> perms,
String tokenGrantType) |
| Modifier and Type | Method and Description |
|---|---|
List<OAuthPermission> |
getPermissions()
Gets the list of the permissions assigned to the current access token
|
UserSubject |
getSubject()
Gets the
UserSubject representing the end user authorizing the client
at the authorization grant creation time |
String |
getTokenGrantType()
Returns the grant type which was used to obtain the access token
the client is using now during the current request
|
public OAuthContext(UserSubject subject, List<OAuthPermission> perms, String tokenGrantType)
public UserSubject getSubject()
UserSubject representing the end user authorizing the client
at the authorization grant creation timepublic List<OAuthPermission> getPermissions()
public String getTokenGrantType()
Apache CXF